Why don't you DEFINE WINDOW PrevWindow with your prefered size, and then issue
REPORT FORM &cTempFrx TO PRINTER PROMPT PREVIEW IN WINDOW PrevWindow
I never tried this with the TO PRINTER clause at the same time, but i think it should work...
HTH
Jaime
>hi!
>
>I have a problem with the code I use to open a report maximized...
>I Use:
>KEYBOARD "{CTRL+F10}"
>REPORT FORM &cTempFrx TO PRINTER PROMPT PREVIEW
>
>The problem is the report opens in the opposite "mode" as the last time..
>For example..
>
>If the report is not maximized last time I modify it then it will come out maximized. But If it is maximized the last time I modify it then it comes out normal...
>
>Does anyone have better code that will work every time regardless of the previous state of the report?
>
>Thanks
Why do programs stop working correctly as soon as you leave the Fox?