GET_DATABASE_NAME$
|
Syntax: |
GET_DATABASE_NAME$(<Name of Index
File>) <Name of Index File> =
<INDEXFILE> |
||
|
Meaning: |
Returns
the name of the database in which the Index File was opened, if the file type
of the Index File is J (JDBC). If
<Index file name> is no JDBC Index File, GET_DATABASE_NAME$ returns the
physical name of the Index File. GET_DATABASE_NAME$
returns the empty string "" if an error occurs. If
an error occurs, the variable OK contains the error
number and the function JDBC_GET_LAST_ERROR$ returns
the error text. |
||
|
Parameter: |
|
||
|
Sample: |
DB_NAME$ = GET_DATABASE_NAME$(CUSTOMER) IF OK <> 0 THEN ERRORMES = JDBC_GET_LAST_ERROR$ ENDIF |
||
|
See also: |
|