SYSTEM.LAST_FORM
SYSTEM.LAST_FORM represents the form document ID of the previous form in a multi-form application, where multiple forms have been invoked using OPEN_FORM. The value can be one of two character strings: either the form document ID or NULL.
SYSTEM.LAST_FORM is not valid with CALL_FORM.
Declare
FRM_NM FORMMODULE;
Begin
FRM_NM.ID := TO_NUMBER(:System.Last_Form);
CLOSE_FORM(FRM_NM);
End;