Home » Developer & Programmer » Forms » Call form associated with a menu, from another form.
Call form associated with a menu, from another form. [message #87321] Sat, 18 December 2004 02:44 Go to next message
Prashanth
Messages: 41
Registered: September 1999
Member
Hi

   I have a form (form1) to which a menu is attached (menu1). Form1 is being called from form2 thro call_form.

When i call form1 from form2, menu attached to form1 is not to be seen.But when i run the form1 as stand alone then i cud see menu.

Form1 is being called from form2 using

CALL_FORM('k:form2', no_hide, no_replace, no_query_only);

Let me know whats wrong with this?

Thanks in adv

Prashanth

 

 
Re: Call form associated with a menu, from another form. [message #87325 is a reply to message #87321] Sat, 18 December 2004 08:37 Go to previous messageGo to next message
Just John
Messages: 69
Registered: November 2004
Member
check (i believe) the window property pallet for inhert menu option - this does as it says - and will use the same menu for the called for as from the calling form.

let us know.
Re: Call form associated with a menu, from another form. [message #87335 is a reply to message #87325] Sun, 19 December 2004 20:05 Go to previous messageGo to next message
Prashanth
Messages: 41
Registered: September 1999
Member
Inherit Menu is set to YES
still, doesnt workout!
Re: Call form associated with a menu, from another form. [message #87337 is a reply to message #87321] Sun, 19 December 2004 22:59 Go to previous messageGo to next message
Himanshu
Messages: 457
Registered: December 2001
Senior Member
Hi,
I do not know what excatly is your requirement for which you have used No_hide,No_replace but try using
CALL_FORM('k:form2',hide, do_replace, no_query_only);

HTH
Regards
Himanshu
Re: Call form associated with a menu, from another form. [message #87340 is a reply to message #87337] Mon, 20 December 2004 04:18 Go to previous message
Prashanth
Messages: 41
Registered: September 1999
Member
Hi Himanshu
It worked out! Thanx for that.
Now From Login Screen(form1), i am calling form2(txn form). When i close form2, it'll come back to form1 and at this point of time, form1 will be having old data. Hw will i ensure that when i come back to form1, screen is cleared by default?

Thanks and Regards
Prashanth
Previous Topic: tablename as input-parameter for procedure
Next Topic: Using JavaBeans
Goto Forum:
  


Current Time: Thu Sep 19 18:55:02 CDT 2024