Prashant,
create a window and run the report in that window
Agnes
>I am using VFP 8.0
>I have created a MDI form and use the same as my desktop for the application.
>To preview the reports I use _screen
>The code is as follows:
> _screen.Visible = .T.
> _screen.WindowState = 2
> REPORT FORM rptCustomerMaster PREVIEW IN SCREEN TO PRINTER PROMPT
> _screen.Visible = .F.
>Now the problem is I am not able to show the report window so generated as maxzimized.
>Can anyone please suggest me a solution.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]