?
Solved

Group multiple records from query results in MS Access

Posted on 2014-03-30
3
Medium Priority
?
1,026 Views
Last Modified: 2014-04-01
Hi Experts

I have a query which brings together a list of participants who have attended either single/multiple events on different dates.

I need to group each [Event Date] and [Venue] and list next to each the [Centre Name] and [Participants] who attended the event.

I have attached an example which may help explain what I am needing.

Any assistance would be appreciated.

Thanks
darls15
Example-31032014.xlsx
0
Comment
Question by:darls15
[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
3 Comments
 
LVL 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 1000 total points
ID: 39966202
You can do this easily with a report with the "1st Query Results" dataset:

Create a report that is grouped on EventDate. Include in the Group header the information for Venue, Center Code and Center Name.

In the Detail section you'd include the Participant field, along with any other fields that need to be shown "per participant".

You might also need to set "Hide Duplicates" to Yes in the group's properties.

If you're trying to do this as a query, I'm not sure how (or why) you'd do it.
0
 
LVL 30

Assisted Solution

by:hnasr
hnasr earned 1000 total points
ID: 39966354
In the report, group on  [Event Date] then [Venue]
In detail section add required fields.
Set properties not to repeat fields.
0
 

Author Closing Comment

by:darls15
ID: 39970874
I don't do a lot with reports and wasn't even considering one as a solution. I've managed to create the output I need. Thank you both for your assistance.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

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.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

764 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