A script-enabled browser is required for this page to function properly.

FIND_FORM Built-in

Description

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.

Syntax

FUNCTION FIND_FORM
(formmodule_name VARCHAR2);

Built-in Type unrestricted function

Returns FormModule

Enter Query Mode yes

Parameters

formmodule_name 
 
Specifies a valid VARCHAR2 form name.

FIND_FORM Examples

/*

** 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;


Referencing Oracle Forms objects by internal ID