General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Table identification
I have a project where a user opens a free table in a folder through GETFILE().
There are n folders each containing a specific .dbf type which is unique in terms of no of fields, field lengths etc.
What I need to prevent is the user wandering off to a wrong folder through the GETFILE() dialog and opening a the wrong type of .dbf.
Whilst one can open the .dbf and examine it through AFIELDS() and close it with USE if it is the wrong type, it would be neater to read the .dbf header or other information before opening the table.
Column 16 in an AFIELDS() array is labelled table comments - so how can a comment be attached to a table, and such a comment be accessed?
TIA
Dennis
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