ACC1x: Report Prompts Twice for Same Parameter Value

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

SYMPTOMS

You are prompted twice for the same parameter value when you run a report that contains a subreport that is based on a parameter query.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Access versions 1.0 and 1.1. This problem no longer occurs in Microsoft Access version 2.0.

MORE INFORMATION

If a subreport that is based on a parameter query that takes one parameter from the user is placed in the detail section of an unbound main report, the report will prompt the user twice for the same parameter value. Note that the same problem occurs with forms and subforms.

Steps to Reproduce Problem

  1. Start Microsoft Access and open the sample database NWIND.MDB.

  2. Create a parameter query based on the Categories table. Save the query as CategoryQuery:

          Query:  CategoryQuery
          ---------------------
          Field: Category ID
    
             Criteria: [Enter Category Id]
          Field: Category Name
    
    

  3. Use the ReportWizard to create a report based on the CategoryQuery query. Save this report as MySubReport.

  4. Create a new unbound report. Drag the MySubReport report to the detail section of the new report.

  5. From the File menu, choose Print Preview.

    Note that the report asks for the same parameter value twice.


Keywords : kbusage RptSub
Version : 1.0 1.1
Platform : WINDOWS
Hardware : X86
Issue type : kbbug
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 14, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.