General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>>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,
Thanks George... So I can
- USE the table
- SET ORDER TO tagname
- save KEY() info
and that should do it? sound simple enough, I'll try it right now.
Thanks again...
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only