Label common variable freed, ENG0040 (OpenInsight Specific)
At 20 NOV 1998 12:12:10PM Steve C. wrote:
In FORM1 create event I call a subroutine that has a Labeled COMMON.
All works ok. A button click event in FORM1 also has the same
Labeled COMMON. After this in the same button click event I
REPOSITORY('EXECUTE','FIELD*OIWINEXE**FORM2',CREATEPARAM)
which passes some of the common variables to FORM2 in the CREATEPARAM.
In FORM2 I access the variables locally that were passed to it,
no Labled COMMON. When I SEND__EVENT to close FORM2 I get the
message "ENG0040: RUN_EVENT, line 1, the labeled common variable has
been freed and is no longer valiad."
WHY????? Can it be fixed???
Thanks
Steve C.
At 23 NOV 1998 02:48PM akaplan@sprezzatura.com - [url=http://www.sprezzatura.com]Sprezzatura, Inc.[/url] wrote:
You'll get the close message when you close a window while parts of it are still active.
For example, if you have a button with code and clicking the button sends a close to the window, when the button code finishes running, the window will have been close, so any commons allocated by the window won't be there anymore.
akaplan@sprezzatura.com