Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table identification
Message
De
10/09/2001 10:27:07
Dennis Little
Ist Choice Travel
Glos, Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Table identification
Divers
Thread ID:
00554666
Message ID:
00554666
Vues:
52
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
Fil
Voir

Click here to load this message in the networking platform