DBC( ) Function
Returns the name and path of the current database.
DBC( )
Return Value
Character
Remarks
DBC( ) returns the empty string if there is no current database.
Use SET DATABASE to specify the current database.
Example
The following example opens the testdata
database and uses DBC( ) to display information about the database.
CLOSE DATABASES
OPEN DATABASE (HOME(2) + 'data\testdata') && Opens the DBC.
CLEAR
? DBC( ) && Displays the path and name of the database
See Also
Reference
ADD TABLE Command
CLOSE Commands
CREATE DATABASE Command
DISPLAY TABLES Command
OPEN DATABASE Command
REMOVE TABLE Command
SET DATABASE Command