Description
Programmatically loads a DBT file.
Syntax
error = RTI_LOAD_DATABASE( databaseID )
Parameters
The function has the following parameters:
Parameter | Description |
---|---|
databaseID | The database name to load. |
Returns
Boolean. If successful null is returned. If there is an error a boolean true is returned.
Remarks
The RTI_LOAD_DATABASE function uses Set_Status() to set error codes. To determine the error received use Get_Status() after the RTI_LOAD_DATABASE call.
Example
* Load MYDB.DBT error = RTI_LOAD_DATABASE( "MYDB" ) if error then status = Get_Status(errCodes) call FsMsg( errCodes ) end