Returns the name of the current database from which tables are accessed.

Syntax

DATABASE( )

Description

DATABASE(†) returns the name of the current default database selected with the SET DATABASE command. If no database is open, the DATABASE(†) function returns an empty string ("").

Note: Databases are defined with the BDE Administrator.

OODML

Check the Database objectís databaseName property.