What You Should Not Do in Activate and Suspend Functions

In window activate and suspend functions, you must not attempt to change the flow of control in the form. You must not attempt to move to another item on a form, or to exit or abort the form. An example of changing the flow of control is calling sfm_nextitem() to change the next item to be processed in the form.

Do not use activate and suspend functions for actions that should only be done once during form processing, such as getting data from a database to initialize the form data.


Home Contents Previous Next