Solved

Group multiple records from query results in MS Access

Posted on 2014-03-30
3
1,007 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 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

717 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