Solved

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

Posted on 2011-03-06
2
365 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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now