Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Parameter from one form to another form

Re: Parameter from one form to another form

From: Jeff Smith <spamnadajsmith_at_provide.net>
Date: Mon, 16 Aug 1999 11:35:35 -0400
Message-ID: <37B82FC7.BD5741F3@provide.net>


Unless I am missing something... Forms to Forms parameters do not need global parameters - the sending form needs to create a parameter list and pass it and the receiving form needs to read the parameter list. None of which needs to be global. Globals will work fine, if that is what you want to use.

If there is something I am missing in the question - perhaps Designer/2000 to Forms is different than forms->to<-forms, I apologize. If I am correct, just look at the on-line help for creating parameter lists. Works easy enough.

Jeff

Rauno Seppanen wrote:
>
> >How do you pass a parameter from one form to another form using Forms
> >Desingner in Developer/2000 ?
> >
> This must be asked and answered thousand times but here it is again:
> - in your calling form define a global variable like this
> :GLOBAL.your_variable := 10;
>
> - in the called form define the same global variable like this (for example
> in key-start-up trigger or somewhere else where the global variable is used
> first time)
>
> DEFAULT_VALUE(NULL,'GLOBAL.your_variable');
> - this means that :GLOBAL.your_variable value is NULL by default if it
> wasn't given any value in the calling form (or the form is called from
> somewhere else)
> - and when you need the global variable in the called form use it like any
> other variable (only you don't have to declare it again) for example like
> this
> Message(':GLOBAL.your_variable value = ' || :GLOBAL.your_variable);
>
> And it would be good programming if you would erase the GLOBAL.your_variable
> after you don't need it anymore. It is case sensitive that shoul it be on
> the form that calls another form or should it be on the called form. Anyway
> on that form's key-exit trigger that handles the GLOBAL.your_variable last
> time. The command is like this
> ERASE('GLOBAL.your_variable');
>
> By the way, look very carafully where I used : before GLOBAL word and where
> not.
Received on Mon Aug 16 1999 - 10:35:35 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US