Home » Developer & Programmer » Forms » Opening multiple forms in a session (Forms 11G)
Opening multiple forms in a session [message #616623] Thu, 19 June 2014 03:00 Go to next message
RaShi.Raj
Messages: 84
Registered: May 2014
Location: Bangalore
Member
Hi,

How can I open multiple forms in a session in 11G web GUI? We can do this in our older version of forms 6i but not able to do it after migration to 11G.

I have few menu items at the top of the screen. On 6i, I can see those menus when I open any form and access forms under those menus but menu items disappear on 11G when I open a form. Any idea?

Thanks,
Rashi
Re: Opening multiple forms in a session [message #616640 is a reply to message #616623] Thu, 19 June 2014 04:33 Go to previous messageGo to next message
RaShi.Raj
Messages: 84
Registered: May 2014
Location: Bangalore
Member
I think my above post doesn't make sense. Let me put it again as I understood the problem...

I have a login screen to which a menu is attached, say menu1.mmx. I open a form under this menu. This form is assigned a different menu (menu2.mmx, in the menu module property of the form). So, when I open this form menu1.mmx should be replaced by menu2.mmx. This is working fine in 6i but not on 11G. why is it not working on 11G?

Thanks,
Rashi
Re: Opening multiple forms in a session [message #616643 is a reply to message #616640] Thu, 19 June 2014 04:50 Go to previous messageGo to next message
aresc
Messages: 9
Registered: June 2014
Location: Germany
Junior Member
In the form when-new-form-instance Trigger you should do

replace_menu('%BASIS_PATH%\menu2');

It works also in Forms11.
Re: Opening multiple forms in a session [message #616645 is a reply to message #616643] Thu, 19 June 2014 04:57 Go to previous messageGo to next message
RaShi.Raj
Messages: 84
Registered: May 2014
Location: Bangalore
Member
But when I replace 'menu2.mmx' with 'default&smartbar' in the form properties, I do see default & smartbar menu during runtime. So, why not menu2.mmx is not seen ?
There seems to be a issue with menu2.mmx..I'll check and confirm

[Updated on: Thu, 19 June 2014 05:02]

Report message to a moderator

Re: Opening multiple forms in a session [message #616646 is a reply to message #616645] Thu, 19 June 2014 05:07 Go to previous messageGo to next message
aresc
Messages: 9
Registered: June 2014
Location: Germany
Junior Member
Also in the properties you have to write the mmx.file with full path and so it works fine.
Re: Opening multiple forms in a session [message #616653 is a reply to message #616646] Thu, 19 June 2014 05:28 Go to previous message
RaShi.Raj
Messages: 84
Registered: May 2014
Location: Bangalore
Member
Looks like some problem with menu2.mmx. I can replace other menus but not this one. It compiles Ok and path is correct, not sure why is the problem. I think if the path is not right it will throw a error saying unable to load menu file.
Previous Topic: dynamic item instance control
Next Topic: FRM-15004
Goto Forum:
  


Current Time: Wed May 08 09:43:29 CDT 2024