Simple goal:
Problem:
Alternate solution if available:
I've read a lot about scope, global/session/admin and other variables. And there are lots of complicated solutions that mix events and Xbasic, but I would like to master "simple" before I move to "complex". On the whole it just seems odd that a "global variable" is in fact not "global" and immediately accessible from within a grid component.
This is likely simple, but I'm at the point where help/direction would be much appreciated. Thanks.
Define "Application Global Variable"
20130402_A5v11_global_variable_question_01.png
Define "argument" in GRID... no "GLOBAL" option available
20130402_A5v11_global_variable_question_02.png
- define "application global variable"
- use the global variable (e.g. "vg_objlst_flag_ownerlimit") in grid button
- use an "argument" within the GRID to bring in the global variable
- then use the global variable within the GRID (in a button, filter, or otherwise)
Problem:
- The "arguments" section does NOT have a GLOBAL option (only PAGE, SESSION, or COOKIE)
- I've also tried using the global variable directly (presuming it is actually "global") but this doesn't work
- the result is an undefined variable that throws an error
- and yes, I've read a LOT of posts (all interesting) but I haven't yet figured this out
Alternate solution if available:
- If there is a place to define SESSION variables in a fashion similar to "Application Global Variables" so the variable exists for the entire web-app, that would be just as good
- A little later I'll make all these variable read/write from a table but I want to get this very basic/simple thing working first
I've read a lot about scope, global/session/admin and other variables. And there are lots of complicated solutions that mix events and Xbasic, but I would like to master "simple" before I move to "complex". On the whole it just seems odd that a "global variable" is in fact not "global" and immediately accessible from within a grid component.
This is likely simple, but I'm at the point where help/direction would be much appreciated. Thanks.
Define "Application Global Variable"
20130402_A5v11_global_variable_question_01.png
Define "argument" in GRID... no "GLOBAL" option available
20130402_A5v11_global_variable_question_02.png
Comment