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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP DBF Indexing

Status
Not open for further replies.

Renebear

Programmer
Mar 25, 2003
8
US
I have built several VFP DBF with SSN as Prime Key. I have a mainmenu option to index all tables: example INDEX ON SSN TAG SSNKEY. After its execution, all the defined Prime Keys were switched to Regular Keys. What would be the best approach to reindex all keys without losing its original definition?
 
have you tried using the key word CANDIDATE.

If this does not work then use the command alter table to change the index to primary Attitude is Everything
 
Hi

Are you creating the index first time?. I dont think so. WHy dont you use REINDEX as your command.. instead of INDEX ON ...

:) ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top