I have a form (frmconfirmations) that calls a .prg. From this program I want to set the form to maximized. Here is my code.
Frmconfirmations.WINDOWSTATE = 2
set defa to j:\gel\code
REPORT FORM &uniqrpt NEXT 1 TO PRINT PREVIEW
IF (MESSAGEBOX("Now do you want to print the confirmation?",36,"Print the confirmation?") = 6)
frmconfirmations.WINDOWSTATE = 0
REPORT FORM &uniqrpt NEXT 1 TO PRINT NOCONSOLE
I set the defa to the folder that the form is in. But I get an error that says "Object frmconfirmations is not found"
How should I try to change the form??
Thanks
Brent Knight
Progressive Impressions International
Bloomington, IL
Wise men talk because they have something to say; fools, because they have to say something.
-Plato