Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/104759

From BetaArchive Wiki

ACC1x: Report Prompts Twice for Same Parameter Value

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


Last Reviewed: November 4, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.