>>hi all,
>>
>>any idea,help
>>i need to show my report as full screen
>>
>>report form report1 preview
>>
>>
>>thanks
>
>oForm = CREATEOBJECT("Form")
>oForm.Name = "PrintPreview"
>oForm.WindowState = 2
>oForm.Visible = .t.
>wnd_name = oForm.Name
>REPORT FORM Report1 NOCONSOLE TO PRINTER PROMPT PREVIEW WINDOW (wnd_name)
>oForm = NULL
>RELEASE oForm, wnd_name
>
Borislav,
I've been able to maximize the "preview window" using code similar to the above. However, when run from an SDI form (the report display window is modal and has the desktop property set to true), the report itself isn't maximized.
Have you tried this under these conditions?
George
Ubi caritas et amor, deus ibi est