home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / bit / listserv / dbasel / 1244 < prev    next >
Encoding:
Text File  |  1992-11-21  |  1.1 KB  |  25 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!paladin.american.edu!auvm!MCIMAIL.COM!0003081833
  3. Message-ID: <75921121131757/0003081833NA3EM@mcimail.com>
  4. Newsgroups: bit.listserv.dbase-l
  5. Date:         Sat, 21 Nov 1992 13:17:00 GMT
  6. Sender:       "Discussion on the use of the dBase language and related
  7.               dialects" <DBASE-L@NMSUVM1.BITNET>
  8. From:         "Anthony K. Lima" <0003081833@MCIMAIL.COM>
  9. Subject:      RE: Reindex (Foxpro)
  10. Lines: 13
  11.  
  12. Zaki -- Never use REINDEX.  It relies on the index key expression stored
  13. in the index file.  If that expression is damaged as part of general file
  14. damage, your index(es) will be rebuilt incorrectly.
  15.  
  16. I recommend always using the following procedure:
  17.  
  18. DELETE FILE <index file name>.<extension>
  19. INDEX ON <key expression> TO <file name>
  20.  
  21. Include a procedure like that in every application you build.  You should
  22. reindex when records appear to be either missing or duplicated from the
  23. dbf file.  Most often the cause is a corrupted index file.  Hope this helps.
  24. -- Tony
  25.