Hi David,
I have a form "just" to preview reports.
ShowWindow 2 - Top Level
WindowState 2 - Maximized
In it's deactivate event:
MOUSE DBLCLICK AT -0.1,0.1 WINDOW "Print Preview"
Don't forget the code for the report's DataEnvironment.Init()
ZOOM WINDOW "Report Designer" MAX
To run the report (typical):
DO FORM forms\frmReport
REPORT FORM reports\rptList ;
TO PRINTER PROMPT PREVIEW ;
IN WINDOW "frmReport"
RELEASE WINDOWS frmReport
>>Yup. I am using it in a top level form.
>>I usually put this in the Report's DataEnvironment.Init()
>>
ZOOM WINDOW "Report Designer" MAX
>>
>>>Can this work if my app is not running in the VFP envionment? My main form is a top level form. I can realy tell if I can create user defined windows in an exe app.
>
>Have you received any solution to this? I have the same question. When using the ZOOM WINDOW (in VFP or in EXE, in SCREEN or in DESKTOP) the only thing that happens is that the report previews in a window inside of the defined window, in its own little un-zoomed -- and tiny -- state, which is totally useless.
>
>Thanks for any info.
Regards,
Mike
"We try to solve the problem by rushing through the design process so that enough time is left at the end to uncover the errors that were made because we rushed through the design process."
- Glenford Myers
If you're going through hell, keep going. - Walt Disney