Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is the Table Open?
Message
De
13/04/2000 10:28:18
 
 
À
13/04/2000 10:23:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00359251
Message ID:
00359265
Vues:
16
>You can try a combination of the following commands:-
>
>? used("tablename")
>
>Returns .T. or .F. if the table is in use.
>
>? cursorgetprop("database", "tablename")
>
>Extracts the database name if part of a container.

I failed to mention that both tables were views...

If I check used(), it will return .t. no matter which database its part of, right? And if both databases are open, then how do I know which database has that view open? It might well be that I'll need the view open in both databases at the same time, which will result in an alias. Maybe I should just make up an alias when I open the table that indicates the database as well?
--Todd Sherman
-Wake Up! Smell the Coffee!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform