ACC1x: Do Not Have Permissions to Modify Secured Report

Last reviewed: May 28, 1997
Article ID: Q101089
The information in this article applies to:
  • Microsoft Access versions 1.0, 1.1

SYMPTOMS

When you are trying to print a secured report, you receive the error message "You don't have permissions to modify <report name>."

CAUSE

This problem will occur if a person other than the application's creator attempts to preview the secured report using a different default printer than the default printer that was in use when the application was created.

RESOLUTION

Create the following macro and add it to OnClose property of the report:

   Macro Name      Action    Argument
   ----------------------------------
   Secured Report  SendKeys  {ESC}

STATUS

This behavior no longer occurs in Microsoft Access version 2.0.

MORE INFORMATION

Steps to Reproduce Behavior

NOTE: To reproduce this error you need to have a database with security already implemented.

  1. Log into Microsoft Access as any user other than Admin.

  2. Create a new database.

  3. Import the Employees table from the sample database NWIND.MDB.

  4. Use the ReportWizard to create a new report based on this table. Save the report as Report1.

  5. Create an AUTOEXEC macro with the following actions/arguments:

           Action      Argument   View
           ------------------------------------
           OpenReport  Report1    Print Preview
    
    

  6. Assign execute permissions to the report for all groups and users.

  7. Quit Microsoft Access.

  8. In the Microsoft Windows Control Panel, select a different printer for your default printer than what is currently selected.

  9. Start Microsoft Access, and then log in as a different user than the one who created the report.

  10. Open the database created in step 2. The report will open in preview mode.

  11. Close the report. Note that the error occurs.


Keywords : kbusage RptOthr
Version : 1.0 1.1
Platform : WINDOWS
Hardware : X86
Issue type : kbprb
Resolution Type : kbfix


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.

Last reviewed: May 28, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.