DR Error

4D - Documentation   Français   English   German   4D Draw 2004, Command Theme List   4D Draw 2004, Command Alphabetical List   Back   Previous   Next

version 6.0


DR Error {(message)} Integer

ParameterTypeDescription
messageTextReceives error message
Function resultIntegerStatus of the last operation performed by 4D Draw

Description

The command DR Error returns a number that represents the status of the last operation performed by 4D Draw.

If DR Error equals 0, the last operation did not cause an error. If DR Error does not equal 0, an error occurred during the last operation. If several areas are active on the same form, DR Error returns the last error, without discriminating between areas. See Appendix C, Event Codes for a complete list of event codes.

If the optional message parameter is passed to DR Error, it must be a variable and will contain the text of the error after the call.

DR Error could return a 4D error code if the error is a general database management error.

See Also

DR ON ERROR.


4D - Documentation   Français   English   German   4D Draw 2004, Command Theme List   4D Draw 2004, Command Alphabetical List   Back   Previous   Next