Remaining Within the Current Item

For begin-field and event functions, if you include no code to change the current item number or action code, the form editor will continue processing the current field.

For end-field functions, you must specifically reset the item number to the current item. This is because the end-field function is only called when the user has requested to leave a field, and you will have to override that request.

Table 34.2: Next Action Codes for Form Processing

Next Action Code Description
Form Movement Codes  
AC_EXIT Exit the form
AC_QUIT Quit processing the form
AC_PREVFORM Exit the current form and process the previous form page
AC_NEXTFORM Exit the current form and process the next form page
AC_SAMEFORM Continue processing the same form
AC_FMSUSPEND Suspend this form
Item Movement Codes  
AC_PREVITEM Move to the previous item on the form
AC_NEXTITEM Move to the next item on the form
AC_FIRSTITEM Move to the first item on the form (sometimes it is preferable to specify 0, especially in the installable form functions)
AC_LASTITEM Move to the last item on the form (sometimes it is preferable to specify (i_maxnum(dfmp)), especially in installable form functions)
AC_SAMEITEM Stay in same item (only for key and field functions)
AC_CONTINUE Continue in normal processing order
AC_PREVRADIOBUTTON Move to the previous radio button in the radio button group
AC_NEXTRADIOBUTTON Move to the next radio button in the radio button group
AC_FIRSTRADIOBUTTON Move to the first radio button in the radio button group
AC_LASTRADIOBUTTON Move to the last radio button in the radio button group


Home Contents Previous Next