>>>Thanks, Phil!!!
>>>
>>>This is exactly what I was trying to do at first time! I didn't find the ZOMM WINDOW command. Great!
>>>
>>>>
define window wReport from 0,0 to 100,200 title "Window Title" system close
>>>>activate window wReport
>>>>zoom window wReport max
>>>>
>>>>REPORT FORM myreportname NOEJECT NOCONSOLE window wReport TO PRINT prompt preview in screen
>>>>
>>>>release window wReport
>>
>>You're welcome! I learned this here on UT, so I'm glad I could give something back :)
>
>Fantastic! I hope someday I will answer a question to somebody too.
>
>I'm amazed with this site. I believe I'll be reading it everyday. I have read it some time ago but I haven't understand how it works. Now I discovered it is invaluable.
>
>Many thanks to all.
Since this is Foxpro, and with VFP there is always more than one way to do things, here is another simple way of maximizing the preview window. Just put this:
zoom window 'Report Designer' MAX
In the Init() of the dataenvironment of the report.