GetLastDBError  Method

Description         The method retrieves the last error code.

Usage                  RetVal = [BiDb.] GetLastDBError

Remarks             RetVal                    Long                Last error code.

 

Available error codes:

DB_NOERROR                                 No error occurs.

DB_OPENED                                    Database is already opened.

DB_OPENERROR                            Error occurred during opening database.

DB_MEMORY                                  Memory exception.

DB_INVALIDPARAMETER           Invalid parameter.

DB_NOTOPEN                                 Database is not opened.

DB_LOADERROR                           Error loading image from database.

DB_EOF                                             End of record set.

DB_BOF                                            Before the firs record.

DB_INVALIDFIELDTYPE              Invalid type of the field in the recordset.

DB_INVALIDFILESIZE                  The size of the file to save is invalid.

See Also