Use One Microsoft Access Report for Multiple Queries
Question details
Use one Access report to display different data sets when the queries use the same fields but differ in their criteria.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- A parts report lists companies, part numbers, and descriptions, and the user wants to produce separate pages for each company without maintaining a separate report for every query.
- Observed behavior
- The desired result is a reusable report that can show a selected company or organize all companies into separate page groups, with appropriate page numbering.
Identify the field that distinguishes each company and confirm that the query returns all fields used by the report. Decide whether users will select one company at a time or print all companies in a single report.
Use a form-driven parameter query for one company at a time
Use this approach when the queries differ only by criteria and users need to choose the company before opening the report.
In Access, use Create > Form Design to create a form with a control for selecting a company. Save the form, for example, as YourForm, and name the control SomeControlName.
Open the report's query in Design View. In the Criteria row under the company field, enter [Forms]![YourForm]![SomeControlName], using your actual form and control names.
Open the report in Design View, open its Property Sheet, and set Record Source to the saved parameter query.
Open the selection form, choose a company, and leave the form open. Open the report in Report View or Print Preview to display that company's records.

Group one report by company and start each group on a new page
Use grouping when you want to print all companies in one report while giving each company separate pages.
Work with exported Access data in WPS Office
WPS Office is a free, lightweight alternative for working with exported data and documents in a familiar interface. It supports common Microsoft Office formats for an easier transition, but it does not run Access queries or reports.

Frequently Asked Questions
Do I need a separate Access report for each company?
No. If the reports use the same fields and differ only by company criteria, use one parameter query as the report's Record Source and select the company through a form.
Why does Access ask me to enter the form parameter?
Check that the selection form is open and that the form and control names in the query's Criteria row match the actual names, such as [Forms]![YourForm]![SomeControlName].
How can I give each company a new page in one report?
In report Design View, use Group & Sort to group by company. Then select the group header or footer and set Force New Page in its Property Sheet.
Will grouping automatically reset page X of Y for each company?
No. Standard Page and Pages values apply to the whole report. Per-company page totals require additional report logic, or you can run the report separately for each company.
Can WPS Office run my Access report?
No. Run the Access query and report in Microsoft Access. For spreadsheet analysis in WPS Office, export the data from Access to an Excel file and open that file in WPS Spreadsheets.




