Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement