PRB: Print Setup Triggers Report's OnClose, OnOpen PropertiesArticle ID: Q109944Creation Date: 10-JAN-1994 Revision Date: 19-SEP-1996
The information in this article applies to:
SYMPTOMS
When you preview a report, choosing the Setup button on the toolbar and
then choosing the OK in button the Print Setup dialog box activates the
report's OnClose and OnOpen properties.
CAUSE
When you choose OK in the Print Setup dialog box, the report is closed
and then reopened with the new printer settings. When the report is
closed and reopened, its OnClose and OnOpen properties are triggered.
RESOLUTION
Since you cannot prevent the OnClose and OnOpen properties from being
triggered when you choose OK in the Print Setup dialog box, you may want
to hide the toolbar so that the Setup button is not available.
STATUS
This problem no longer occurs in Microsoft Access version 2.0.
MORE INFORMATION
Steps to Reproduce Behavior |
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.