Previous - dbIsOpen Section Home - Database Next - Director Miscellaneous


dbErr ( )

Retrieves a string message for detailed information on the last error

Usage:

dbErr (object me)

Parameter:

None

Returns:

(string) - Detailed error description provided by the data provider.

Example:

xtRose = xtra("Rosetta").new( )
if ( xtRose.dbIsOpen ("Provider=MSDASQL;ExtendedAnsiSQL=2;DRIVER={Microsoft Access Driver (*.mdb)};Dbq="&the moviepath&"main") <= 0 ) Then
  alert xtRose.dbErr( )
end if

Notes:

The detailed error is provided by the data provider, and provides insights into why the last operation failed. Please note that not all failures are the result problems with the data provider.

See Also:

Error Codes


Previous - dbIsOpen Section Home - Database Next - Director Miscellaneous