home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / database / 9344 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.1 KB

  1. Path: sparky!uunet!mcsun!news.funet.fi!fuug!kiae!demos!newsserv
  2. From: Yuriy G. Goron <yuriy@technopolice.zgrad.su>
  3. Newsgroups: comp.databases
  4. Subject: Re: Foxpro: Quicker Substring Search
  5. Date: Fri, 22 Jan 93 23:24:47 +0200
  6. Distribution: world
  7. Organization: Technopolis Innovation Bank
  8. Message-ID: <AAVO6Ohm69@technopolice.zgrad.su>
  9. Sender: news-service@newcom.kiae.su
  10. Reply-To: yuriy@technopolice.zgrad.su
  11. References: <C151IH.Apz@acsu.buffalo.edu>
  12. Lines: 23
  13.  
  14. >           For Example...
  15. >           I have a file with 20,000+ Records.  It contains Account
  16. >           information.  Suppose the user wanted to search for
  17. >           all accounts whose company name contained the string
  18. >           "COM".
  19. >
  20. >           Right now I have it set up as follows:
  21. >
  22. >           Select AcctMast
  23. >           Set Order to Tag AcctNum Of AcctMast
  24. >           Set Filter to "CON" $ AccMast->AcctName
  25. >           Browse NoEdit
  26. >
  27. Try this :
  28.            SELECT <names of fileds> ;
  29.            From AcctMast ;
  30.            WHERE AcctName Like "%CON%" ;
  31.            INTO CURSOR work
  32.            Browse Noedit
  33.  
  34. Best regards
  35. Yuriy Goron
  36.  
  37.