Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: vars do not survive

$
0
0
Re: vars do not survive
FoxInCloud
Re: vars do not survive
06/19/2012
02:38:12 AM
3J305NIMV Show this entire thread in new window
Gratar Image based on email address
From:
Thierry Nivelet (FoxInCloud)
To:
Attachments:
None
Neither aw.vcx!awFrm.wViewParmSet() nor aw.vcx!awFrm.wViewRequery() RELEASE any variable from calling program.
Unless we miss something, both these methods use LPARAMETERS AND LOCAL for any variable they need
What is the name of your variable?
Could you step through the code to see when this variable is RELEASEd?
thanks,


If I do this:
curmain = "abc" thisform.wviewparmset(view, param, curmain, .t.) thisform.wviewparmset(view2, param, curmain, .t.)

The variable curmain disappears after the first call to wviewparmset and does not exist after that. is this by design or a bug?



Thierry Nivelet (FoxInCloud)


Viewing all articles
Browse latest Browse all 10393

Trending Articles