Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

defining Global Variables

Status
Not open for further replies.

tyb

Technical User
Feb 10, 2004
137
0
0
IR
Dear Frends

can someone plz let me know that how to declare some Global Variables to hold the value untill the forms exit or to pass value from one form to the other.


thanx
 
lewisp is correct, however it is a bit tricky to find the explanation in the Help section.[ol][li]In Forms Builder press F1[/li]
[li]Click on the Help Topics button[/li]
[li]Click on the Find tab[/li]
[li]Type in: global in the Find section at the top. Make sure you use lowercase letters.[/li]
[li]In the box at the bottom there is a list of help topics for global. Double click on "About global variables".[/li][/ol]
It is important to note that you will encounter an error if you reference a global that has not been either defined or defaulted. Also be careful since all globals are stored as strings (even numeric and dates), so it is vital to be consistant when using format masks such as:
Code:
:GLOBAL.START_DATE := to_char(:BLK.DATE1,'YYYYMMDD');

[sup]Beware of false knowledge; it is more dangerous than ignorance.[/sup][sup] ~George Bernard Shaw[/sup]
Systems Project Administrator/Custom Forms & PL/SQL - Oracle/Windows
 
thanks frends

i've been trying to find it through the indexed search
into the form builders.

many many thanks for this great help



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top