FIND_FORM error [message #333636] |
Sun, 13 July 2008 23:40 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
mailtokkalyan
Messages: 65 Registered: December 2006 Location: Bangalore
|
Member |
|
|
Hi all,
I am using Find_Form keyword for closing the Form automatically....,means i am using tree view for menu.
so the users will open n number of forms so that they want to close entire application by pressing one time.
so i m insert into a dummy table whenever the users opening a form. this table contains formname and sessionid. its working fine. it is closing all other forms and application also.
But user may close the form manually, but my table having that formname. so when i am executing
close_Form(form_name);
it gives
FRM-40739:Argument 1 to builtin CLOSE_FORM cannot be null
i cannot write the delete statement in each & every form.
If form is not opened then automatically delete st should get execute after that close_form.
is there any execption? how to do this? pls tell me..
Regards,
Kalyan
[MERGED by LF]
[Updated on: Mon, 14 July 2008 01:41] by Moderator Report message to a moderator
|
|
|
Find_Form Error [message #333637 is a reply to message #333636] |
Sun, 13 July 2008 23:50 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
mailtokkalyan
Messages: 65 Registered: December 2006 Location: Bangalore
|
Member |
|
|
hi all,
I have one doubt in Find_Form(..).
Actually Find_Form will find the Formmodule and return.
Suppose there is no form like that...then how to find out there is no form like that..
Declare
P_Form_Module FORMMODULE;
P_Form Varchar2(100):='INVOICE';
Begin
P_Form_Module:=Find_Form(p_Form);
Close_Form(P_Form_Module);
End;
Now If that Form Exist means No Problem. But does not exist means FRM-40738 Error Is Coming. so i want give a message
"there is no form exist".
How to do this? Any one please tell me.
Regards,
Kalyan
|
|
|
|
|
|