Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Database opened or not ?
Message
 
To
01/10/1996 23:36:55
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00009077
Message ID:
00009080
Views:
23
>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/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform