Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table identification
Message
From
10/09/2001 10:27:07
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Table identification
Miscellaneous
Thread ID:
00554666
Message ID:
00554666
Views:
51
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
Map
View

Click here to load this message in the networking platform