>
>The idea is following:
> Report Form ... Preview Nowait
> if wexist("Print Preview")
> move window 'Print Preview' to 10,10
> mouse dblclick at 11,11
> endif
ED,
Thanks for the fast response. I tried your idea with little success. Maybe you could look at the following and tell me where I am going wrong:
KEYBOARD "{CTRL+F10}"
loReportForm = CREATEOBJECT('Form')
loReportForm.Name = 'ReportForm'
loReportForm.Caption = "Asset Depreciation Short Report"
REPORT FORM Report02a PREVIEW WINDOW ReportForm
IF wexist("Print Preview")
MOVE WINDOW 'Print Preview' TO 10,10
MOUSE DBLCLICK AT 11,11
ENDIF
I have to preview the report in a window to keep the Title bar from producing the REPORT DESIGNER - Report02a.frx . This works well, but causes a loss of space, so I was trying to compensate by automatically having the tool bar docked on entry.
Thanks,
John
John Fatte'
Life is beautiful!