check error


The check error statement checks the result of the last operation on the specified table, and displays a corresponding alert message if there was an error. If no table name is specified, it checks the result of the last table operation.


check error {table table_name}


table table_name An optional clause specifying the name of the table for which you wish the last table operation checked.


The operation that caused the error and the table accessed will be displayed, as well as the alert message. For example, if the get statement was used to retrieve a non-existent record from the Seller_Data table, the check error statement would display the following alert message:


Documentation Feedback