Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Database opened or not ?
Message
 
À
01/10/1996 23:36:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00009077
Message ID:
00009080
Vues:
22
>Is there an 'easy' way to check a database if it is opened ?
>
>Catherina of AS SOTA Co.


Try:

DBUSED()

Returns true (.T.) if the specified database is open.

Syntax

DBUSED(cDatabaseName)

Returns

Logical

Arguments

cDatabaseName Specifies the name of the database for which DBUSED( ) returns a logical value indicating whether or not the database is open.

Remarks

DBUSED( ) returns true (.T.) if the specified database is open; otherwise, it returns false (.F.).
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform