ACC1x: Report Prompts Twice for Same Parameter Value

ID: Q104759


The information in this article applies to:


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 
Issue type        : kbbug 

Last Reviewed: March 27, 1999