Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I read the info in a DBC?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00198598
Message ID:
00199143
Views:
24
>>I just found out to my supprise that I can't directly read the info in a DBC. I have been putting in all the comments, field captions etc. and thought that I would be able to create a prg that would read the records in the DATABASE and produce a report. The more pressing thing is I need to create a program to index-reindex all my tables. I know I can create a prg that will read the index tags etc in the existing tables and produce a prg but I was hoping to read the DBC directly to to this. Are there any functions I haven't found or am I stuck.
>>
>>Thanks again.
>
>Firstly, you may run GenDbc to get database script with all indexes, etc. Also, you may use DBGetProp to inquire some particular property.

Edward,
A note of thanks.

I must first thank you for all you help in the past week or so. It is greatly apreciated. The DbGetProp() was just what I needed to doc my DBFs. I looked through the DBC, DCT and DCX with list.exe and it looks like the index stuff is only held in the CDX headers just as before (in DOS). I was able to exctract the parts of GenDBC that I needed to write a prg that writes a prg to reindex all the tables.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Reply
Map
View

Click here to load this message in the networking platform