OnInterviewError event
The OnInterviewError event runs when an interview terminates due to a scripting error, and is typically used for custom error reporting such as sending an email message to an administrator. The interview object and the error message are passed to the event. To define actions to be carried out in this situation, place the following statements in the routing section of the script:
Syntax
Sub OnInterviewError(IOM, <error_message>)
<statements>
End Sub
Parameters
<error_message>
The error message.
<statements>
Interview scripting or mrScriptBasic statements that define the actions to be carried out.
IOM
The interview object. This gives the event access to all the properties and objects related to the interview.
See also