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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

global variables info. needed

Status
Not open for further replies.

DoobyDuck

Programmer
May 27, 2008
1
GB
Hiya people!

I'm new to the Oracle Developer Enviroment and i'm trying to pass values between forms quite simply with global variables. All the values i'm passing are of number datatype, so i've been initialising the global variables with this syntax in a when-button-pressed trigger:

:global.Director_ID := to_char:)FILM.Director_ID);

and in a pre-query trigger using this syntax in the calling form to populate the form:

:DIRECTOR.Director_ID := to_number :)global.Director_ID);

Between two direct forms this works okay, but i'm having problems trying to read in a passed value to a form 3 forms later in the sequence. Any ideas people? Any info. on global variables with Developer would be much appreciated as well.
 
All global variables are really global: there is 1 instance of named variable across any number of forms within Forms session. What error have you got?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top