Solved

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

Posted on 2011-03-06
2
368 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

726 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