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