A simple soluction, add the following code to INIT event of DATA ENVIROMENT in your reports:
IF WEXIST('Report Designer')
zoom window 'Report Designer' MAX
ENDIF
>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
Dominican Republic, a Paradise in America