DatabaseError()
Syntax
Error$ = DatabaseError()Description
Returns the last error description in text format. This is especially useful with the following commands: OpenDatabase(), DatabaseQuery() and DatabaseUpdate().
Example; First, connect to a database with an employee table ; If DatabaseQuery(#Database, "SELECT * FROM employee") ; Get all the records in the 'employee' table ; ... Else MessageRequester("Error", "Can't execute the query: "+DatabaseError()) EndIf
Supported OS
Windows, Linux, MacOS X