Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DATA DRIVEN CONTROL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00225111
Message ID:
00225284
Vues:
16
>Gar,
>You can open a table without opening the database, so yes, you DO have to explicitly open the database for your DBGetProp() command to work. If you only have a single database, then you can put the command to open it in the parent class of your forms. If you are using several databases, or if you want this code to work in many apps, then you should probably put the correct database name in an application object or other source available to all data sessions.
>
>HTH
>Barbara
>
Barbara,

A correction, you cannot open a table without also opening its corresponding dbc. However, opening the table does not make its DC the current DBC and DbGetProp only works on the "current" database (SET DATABASE TO ...)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform