Solved

How do I create an Access report that presents multiple tables from the same dataset?

Posted on 2011-03-06
2
367 Views
Last Modified: 2013-11-28
Hi Access Gurus,

I have a question.  I have a large table of data, but I want to create 3-4 tables in a report that uses that dataset and group the data accordingly.  For example, if I have a table that contains grocery store purchases of products, I want to do grouping by products (milk, eggs) and do it by grocery stores, but I also want to include a report that contains total spend on the same report page.  I'm having trouble doing this with the grouping function in Access.  Is there an Access trick that I am unaware of, or is there VBA that can do this.

The sub report function does not seem to do this because it presents all of the data at once. (ie, you would see all of the spend for all of the grocery stores on one page instead of being able to break it out by grocery store.  Basically I want to be able to have 4 queries from the same dataset that is brought into the report and these tables would present this data.

The report would look like this:

Grocery Store A

Table #1
Store Location, Square Footage, Manager Name

Table #2
Product # of products
Milk 3 Gallons
Eggs 3 Cartons

Table #3
Product Total Spend$
Milk $20.00
Eggs #3.00

Thanks,

MrsMacros
0
Comment
Question by:MrsMacros
2 Comments
 
LVL 18

Accepted Solution

by:
Jerry Miller earned 500 total points
ID: 35050372
Create one main form and have 3-4 sub forms.Base your sub form on a query that uses all of the necessary elements.
0
 

Author Comment

by:MrsMacros
ID: 35050872
Can I do this for an Access report?  In Access Report properties, it only lets me select one table or query.  Can I have the Access report select this form in its property?
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question