Mike,
thanks for the response. To deal with a form like a WINDOW
(... WINDOW (oRepForm.Name)) is still strange to me. I've done some stuff with DEFINE WINDOW and if could be that easy ... (I'm bound to classes. DEFINE WINDOW and the like is something I count cruel in VFP. )
Thanks
Agnes
>
oRepForm = CREATEOBJECT("Form")
>WITH oRepForm
> .Caption = "My report Title"
> .WindowState = 2 **This will maximize the form
> .Show()
>ENDWITH
>REPORT FORM myReport.frx PREVIEW WINDOW (oRepForm.Name)
>oRepForm.Release()
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]