DATASET IN POPUP NOT PICKING UP VARIABLE (OpenInsight Specific)
At 07 FEB 1998 06:40:44PM DEBBIE wrote:
WHEN CALLING A POPUP FROM AN EDIT LINE IT WON'T PICK UP THE
VARIABLE IN THE EDIT LINE; POPUP USES DATASET, HAVE TRIED WITH AND
WITHOUT VAR=VAR IN WINDOW; POPUP WORKS IN USER INTERFACE IF
MANUALLY PUT IN VARIABLE; BUT WON'T READ FROM WINDOW…ANY IDEAS.
THANK YOU DEBBIE
At 09 FEB 1998 11:39AM Dave Pociu wrote:
Base your code on this template:
data=get_property(CtrlEntID , "TEXT") /* this is the info you want to pass to popup */
argument_values=… / Create an @SVM delimited list of argument values from data /
argument_names=… / Create an @SVM delimited list of corresponding argument names. If argument names are not supplied then argument numbers are assumed by position of argument values. /
popup_data='
popup_data=argument_values
popup_data=argument_names
return_data=popup( @window , popup_data , "YOUR_POPUP_NAME")
What you're doing basically is overwriting the default popup settings with the ones in the popup_data variable.
I'm only changing line 8 in this example. If that's not enough, then look up the POPUP function in the help (In System Editor, type in popup then press F1) .
At 11 FEB 1998 01:58PM B Cameron wrote:
I'm not sure if you are talking about a quickevent that "Execute a Popup" or not… If so, and you want to return a value from a popup into the edit value…
In the Quickevent window..
—–Return Value in—- Group box
Control = @WINDOWProperty= QBFLIST