guides:programming:programmers_reference_manual:rti_load_database

RTI_Load_Database Function

Programmatically loads a DBT file.

error = RTI_LOAD_DATABASE( databaseID )

The function has the following parameters:

ParameterDescription
databaseIDThe database name to load.

Boolean. If successful null is returned. If there is an error a boolean true is returned.

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.

* Load MYDB.DBT

error = RTI_LOAD_DATABASE( "MYDB" )

if error then

   status = Get_Status(errCodes)

   call FsMsg( errCodes )

end
  • guides/programming/programmers_reference_manual/rti_load_database.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1