Code:
OREPFORM = CREATEOBJECT("Form")
WITH OREPFORM
.WINDOWSTATE = 2
.SHOW()
ENDWITH
REPORT FORM XXX PREVIEW WINDOW (OREPFORM.NAME)
OREPFORM.RELEASE()
After issuing the above code, I noticed all my existing variables reverted to the default values (as shown in the debug).
Is it true the “close” button also reset all the variables? If yes, how to I prevent the existing variables from being reset so that I can continue like before I issued the REPORT FORM?
Thank you.