Home » Developer & Programmer » Forms » How to sent Global variable between two forms in oracle form 10g ? ( with web.show_document ) (forms 10 g)
How to sent Global variable between two forms in oracle form 10g ? ( with web.show_document ) [message #507184] Thu, 12 May 2011 23:59 Go to next message
buyensan
Messages: 2
Registered: May 2011
Location: Bandung
Junior Member
Hi,
I have one question :
How to sent Global variable between two forms in oracle form 10g ? ( with web.show_document )

Thanks


Budi
Re: How to sent Global variable between two forms in oracle form 10g ? ( with web.show_document ) [message #507187 is a reply to message #507184] Fri, 13 May 2011 00:44 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
You set its value in one form, and it is available through the whole session, in all forms you use. It is quite well explained in Forms Help.

I don't understand what WEB.SHOW_DOCUMENT has to do with it.
Re: How to sent Global variable between two forms in oracle form 10g ? ( with web.show_document ) [message #508436 is a reply to message #507187] Sat, 21 May 2011 02:53 Go to previous messageGo to next message
buyensan
Messages: 2
Registered: May 2011
Location: Bandung
Junior Member
Thank for your question.
I set global variabel in form A example :global.test := 2.
I call form B from treemenu ( using web.show_document... ),
In form B, :global.test not define.

Thank

Budi
Re: How to sent Global variable between two forms in oracle form 10g ? ( with web.show_document ) [message #508443 is a reply to message #508436] Sat, 21 May 2011 04:07 Go to previous message
cookiemonster
Messages: 13937
Registered: September 2008
Location: Rainy Manchester
Senior Member
I imagine the problem is that web.show_document causes oracle forms to start a new session. Why are you using that and not open_form or call_form?
Previous Topic: key-next-item trigger
Next Topic: retrieving values from mater table in child table
Goto Forum:
  


Current Time: Sat Sep 07 15:35:52 CDT 2024