Solved

Group multiple records from query results in MS Access

Posted on 2014-03-30
3
922 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
3 Comments
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 250 total points
Comment Utility
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 250 total points
Comment Utility
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
Comment Utility
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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

762 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

6 Experts available now in Live!

Get 1:1 Help Now