OnError

<< Click to Display Table of Contents >>

 

OnError

OnError(Number, Description, SCode, Source, HelpFile, HelpContext, CancelDisplay)

Triggered by a Report's internal error. If this event is not handled, E3 then displays a generic error message.

Parameters of an OnError event

Name

Description

Number

Integer identifying this error

Description

String with this error's description

SCode

Integer with OLE subsystem's error code (not used)

Source

String with the object that generated this error

HelpFile

String with the name and path of a help file

HelpContext

Integer of help topic's context referring to this error

CancelDisplay

Boolean indicating whether this error must be displayed on a message box

Was this page useful?