Events
Events are predefined objects that you can use for specifying actions that are to take place at certain points in an interview. You can define events for any of the following:
Start of interview
Actions to be carried out when an interview starts or restarts; for example, creating global objects that can be used during the interview, like ADO record sets or ODBC connections. For more information, see
OnInterviewStart Event.
End of interview
Actions to be carried out when an interview stops, times out or completes. These are typically actions to clean up objects created at the start of the interview, or to generate question and response summaries. For more information, see
OnInterviewEnd event.
Before asking a question
Actions to be executed before a question is asked; for example, setting additional question properties. For more information, see
OnBeforeQuestionAsk event.
After asking a question
Actions to be executed after a question has been asked, answered, and validated using the standard validation procedure. For more information, see
OnAfterQuestionAsk event.
Before response validation occurs
Actions to be executed after the respondent submits an answer but before any validation is run, including the standard validation. For more information, see
OnBeforeQuestionValidation event.
When an error occurs
Actions to be carried out when an interview terminates abnormally. For more information, see
OnInterviewError event.
All events run automatically at the appropriate times but do nothing unless you define actions for them.
This section also looks at objects within interviews (see
Objects) and discusses both objects and events in relation to the interview life-cycle and the starting, stopping, and restarting of interviews (see
Events and the interview lifecycle).
See also