Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to extract filename, indexname, key from .dbc
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00221452
Message ID:
00221461
Views:
14
>I have an index routine that uses a KEYS.DBF file. This file contains the filename, index name, key expression and Ascending/Descending indicator.
>
>Is there a way to populate this file by reading the .dbc directly?
>
>Ideally, I'd like to run "LoadKeys()" at app startup as well as intermittently during development.
>
>TIA
Hi Larry,

The table and tag names are present but not the expression. You could use the KEY() function to retrieve those. I did something similar in FPW, and it isn't that hard to do. Of course, didn't have the DBC so I had to use other functions.

hth,
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform