XPost: comp.lang.basic.visual, comp.lang.basic.visual.misc   
   From: erewhon@nowhere.com   
      
   On Wed, 6 Oct 2004 18:52:00 +1000, "Steve" wrote:   
      
   >sorry all for the lack of details.   
      
      
      
   It sounds to me as if you have :-   
      
   1) Codes of the form: ABCD1234567   
   2) The 4 digit prefix refers to the owner/shipping line   
   3) There are about 500 owner/shipping lines   
   4) You want a simple lookup on the 4 digit prefix   
    - that gives you 3 to 4 items of data   
      
   Interestingly you are right about text files, as the chances are that   
   you already have (or can get) a text file containing this information.   
      
   500 lines is pretty trivial in terms of data   
   - easily (and best) kept in memory   
      
   Could you post about 4 lines of the text file that you have (or   
   envisage getting from ... who knows where)   
      
   Alternatively (something I doubt) if you wish to generate the data   
   file yourself, then tell us   
      
   You actually have an interesting little project, and it is especially   
   neat that it has come from a checksum utility   
   - it will, of course grow and grow   
      
   A good project to hone up your programming   
   - you will be on a roll   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|