Solved

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

Posted on 2011-03-06
2
369 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

691 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