Home » Developer & Programmer » Reports & Discoverer » Hot to access global variables of forms? (Report Builder 6.0.8.8.3 Forms 6.0.8.8.0 WINDOWS 2000)
Hot to access global variables of forms? [message #383618] Thu, 29 January 2009 05:46 Go to next message
dude4084
Messages: 221
Registered: March 2005
Location: Mux
Senior Member
Hi

Objective: I want to stop access of REP files from folder. For this purpose, i want to check value of GLOBAL.VARIABLE prsent in calling form containing menu.

is that possible that report can check the value of GLOBAL.VARIABLE present in the form?

-Dude
Re: Hot to access global variables of forms? [message #383623 is a reply to message #383618] Thu, 29 January 2009 05:58 Go to previous messageGo to next message
Littlefoot
Messages: 20900
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
As far as I can tell, it is not possible.

A possible workaround? Store global variable's value into a database table and let report read it (in the Before Report trigger, for example).
Re: Hot to access global variables of forms? [message #383637 is a reply to message #383618] Thu, 29 January 2009 07:31 Go to previous message
dude4084
Messages: 221
Registered: March 2005
Location: Mux
Senior Member
Yes, one method is to store value on database and then check this value in before report trigger.


Other method i am thinking is to pass the GLOBAL.VARIABLE value as report variable. i.e. Menu will call FMX and which will call REP.
Thus every REP will have a calling FMX.


Previous Topic: Sending date parameter from Reports to Forms 10g
Next Topic: Conditional dropdown list in parameter form
Goto Forum:
  


Current Time: Wed Dec 07 18:39:35 CST 2016

Total time taken to generate the page: 0.05536 seconds