Error_Report_Mode - DataDictionary

Determines how errors are generated through the messages Operation_Not_Allowed and Data_Set_Error

Type: Property

Access: Read/Write

Data Type: Integer

Parameters: None

Syntax
 Property Integer Error_Report_Mode

Read Access: Get Error_Report_Mode to IntegerVariable
Write Access: Set Error_Report_Mode to IntegerVariable/Value


Description

The Error_Report_Mode property determines how errors are generated through the messages Operation_Not_Allowed and Data_Set_Error.

Possible Values:

DD_Error_Report (0)
DD_Error_No_Report (1)


When set to DD_Error_Report (the default), errors are declared and handled by the DataFlex error system. If set to DD_Error_No_Report, the error is not reported, but the Err indicator is set, indicating that an error did occur. Use of this property can be expanded to support other types of error reporting (log to error file, etc.).

Sample

set Error_Report_Mode to DD_Error_No_Report