Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FoxPro automatically reindex

Status
Not open for further replies.

christak

MIS
Jul 14, 2003
20
US
I have a very old FoxPro database that I did not design that is in full use where I work. We are using MS access as our front end for this database. Is there a way to have MS Access keep the FoxPro version's Index
up-to-date?


 
VFP keeps indexes in the structural index file (x.CDX, where x is the name of the table) up-to-date automatically. However, other indexes are updated only if they're open at the time the data changes.

The easiest way to keep indexes up-to-date is to ensure that you use only a structural index file. If you're accessing the FoxPro data only from Access and not using existing FoxPro code, you can change the tables to use only structural indexes. If existing code needs to work with the data as well, making such a change could break things.

Tamar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top