Searches the list of forms and returns a form module ID when it finds a valid form with the given name. You must define an appropriately typed variable to accept the return value. Define the variable with a type of Formmodule.
FUNCTION FIND_FORM
(formmodule_name VARCHAR2);
Built-in Type unrestricted function
Returns FormModule
Enter Query Mode yes
/*
** Built-in: FIND_FORM
** Example: Find a form's Id before inquiring about several
** of its properties
*/
DECLARE
fm_id FormModule;
tmpstr VARCHAR2(80);
BEGIN
fm_id := Find_Form(:System.Current_Form);
tmpstr := Get_Form_Property(fm_id,CURSOR_MODE);
tmpstr := tmpstr||','||Get_Form_Property(fm_id,SAVEPOINT_MODE);
Message('Form is configured as: '||tmpstr);
END;