Returns the number of the last BDE error.

Syntax

DBERROR( )

Description

DBERROR( ) returns the BDE error number of the last BDE error generated by the current table. To learn the BDE error message itself, use DBMESSAGE( ).

See the table in the description of ERROR( ) that compares ERROR( ), MESSAGE( ), DBERROR( ), DBMESSAGE( ), SQLERROR( ), SQLMESSAGE( ), and CERROR( ).