Solved

Group multiple records from query results in MS Access

Posted on 2014-03-30
3
983 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
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 250 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
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…

730 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