Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Free table
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01497780
Message ID:
01497798
Vues:
56
>How I can know if a table is in a database and release?

INDBC() will tell you if a table is in the current DBC().


The backlink to a database container is in the header of the file. To find out if a table is in a DBC (and fine which one) you can examine the header with something like
USE myFile SHARED
lcHeader = LEFT(FILETOSTR(DBF()),HEADER())
lcDatabase = RIGHT(lcHeader,263)
If the first character is ASC(0) then the table is not in a DBC
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform