| Parameter | Description |
|---|---|
| iError | Error number to disallow |
Procedure Operation_Not_Allowed Integer iError
| Call: | Send Operation_Not_Allowed iError |
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.
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