I need to know if I have opened this form. If it is open I want to enable some objects. If the "ofnc" is open, the program does what it suppose to do when I enable these objects, if not open, the system crashes. I have tried an IF statement to determine, open or not with no avail. What dumb thing am I doing?
I use
do form fnc name ofnc
when I open the form
I have tried "if ofnc.FORM" and this bombs with the error not an object.
I have tried "if ofnc" this works OK if the form is open; same as above if not.
Please help
Betty :-(
I use
do form fnc name ofnc
when I open the form
I have tried "if ofnc.FORM" and this bombs with the error not an object.
I have tried "if ofnc" this works OK if the form is open; same as above if not.
Please help
Betty :-(