Hello,
I have a form in an Access 2003 application which opens maximized.
Its CloseButton property is set to false. On this form I have a
command button that opens a report in preview mode. The report opens
fine. It opens maximized as one would expect. However, the report
preview window's close button is disabled which is confusing to my
users (they have to click the resize button on the preview window
which then restores the close button). Office SP3 does not seem to
help. Is there a better workaround than this to restore my report
preview close button?
I can reproduce this behavior in the Northwind db as follows:
Add a docmd.Maximize to the load event of the Categories form.
Add a command button to the Categories form.
In the command button's click event add
DoCmd.OpenReport "Summary of Sales by Year", acViewPreview, , ,
acWindowNormal
I open the Category form in form view and click the command button and
note that the report preview's close button is not visible.
Bruce