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,
Thierry Nivelet (FoxInCloud)
curmain = "abc" thisform.wviewparmset(view, param, curmain, .t.) thisform.wviewparmset(view2, param, curmain, .t.)
Thierry Nivelet (FoxInCloud)