Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check if a table is in a database
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Divers
Thread ID:
01228412
Message ID:
01228414
Vues:
16
Hi,

>Is there a way to check if a table is free or part of a database?

After you opened the table, you can use
CursorGetProp("Database")
to find the database of a table. If the return value is empty, you are dealing with a free table. If you don't want to open the table, you have to check the header for the version. The help file contains a description of the DBF header structure.
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform