>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.).