#ERRORS
Returns 1 if a record contains an error as indicated by the database error log, else 0.
Syntax:
Example:
The expression #ERRORS is useful for selecting records with errors.