Operation_Not_Allowed - DataDictionary
Executes the error command with the passed in error number. Intended for augmentation
Type: Procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
| iError | Integer | Error number to disallow |
Syntax
Procedure Operation_Not_Allowed Integer iError
Call Example
Send Operation_Not_Allowed iError
Description
By default, the Operation_Not_Allowed procedure simply executes the error command with the passed in iErr. You may, however, augment it to substitute other messages for iErr defined in DataFlex, or undefined.
Sample
Procedure Operation_Not_Allowed Integer iError
If (iError=DFERR_NO_DELETE_RELATED_RECORDS_EXIST) ;
Error iError ". Customer has activity."
Else ;
Forward Send Operation_Not_Allowed iError
End_Procedure