Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looking for an utility
Message
 
To
15/06/2000 01:42:08
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00380606
Message ID:
00380607
Views:
26
Michael,

It should be fairly simple to write:

1. ADIR() for all the dbf files
2. For each DBF file, USE and then use TAGCOUNT(), TAG() and SYS(14) to generate a set of INDEX ON ... TAG ... commands in a file

Even simpler, if the tables are part of a dbc, you can run GENDBC and just extract the indexing commands.

Cheers,

Andrew




>Anyone know of a good utility which will allow me to scan a directory and build a PRG to build the CDX of the DBF. I want to only backup the DBF. In case of recovery, I would be able to run that PRG to rebuild the CDX.


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform