Type
Procedural Command


Purpose
In its default mode of operation, DataEase displays all error messages generated by DataEase and your SQL database engine. The error messages off command turns off these system-generated error messages.
Once DataEase processes an error messages off command, no system-generated error messages are displayed until it reaches an error messages on command or the end of the whole procedure.

Syntax
error messages off .

Usage
A DQL Procedure can contain any number of error messages off and error messages on commands.
The error messages off and error messages on commands can be used in both Control procedures and Processing procedures.
The error messages off command has no effect on messages generated by the DQL message command, or messages generated by triggers, stored procedures, defaults, rules, etc. stored on the server.

Example
error messages off .
record entry "MEMBERS" .
run procedure "PRINT RESERVATIONS" .
error messages on .
run procedure "UPDATE CRUISES" .
application status records .

This script tells DataEase: (1) Turn off system-generated error messages, (2) display the MEMBERS form so the operator can enter new member records, (3) when the operator finishes entering records, run the PRINT RESERVATIONS procedure, (4) turn on system-generated error messages, (5) run the UPDATE CRUISES procedure, and (6) display the status of the records in the current application.

See also error messages on.