I'm interesting can i or not
save information from field to global variable
in Developer 6.0 and use this global variable in other blocks
(note: this field is key field and not visible)?
If you are talking forms, then yes, you store the variable's
value in a global variable value and you can use it anywhere,
even in a differerent form, until it is erased. Just doublecheck
whether you have to declare the global first in pre-form or in
when-new-form-instance; I don't have any reference material
here. Jim
P.S. "Declare" for a global is not exactly the correct terminology.
What I mean is that you create a global variable and assign it an
initial value in the same statment. Jim
A global variable is automatically created when a variable is prefixed with the keyword "global".
So, when i say
:global.g_empno :=:blk.empno;
the global variable called "g_empno" is created and a value from the block "blk", column "empno" is assigned to it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.