Solved

Access Report

Posted on 2013-12-10
8
305 Views
Last Modified: 2014-03-07
Dear Experts

I need to produce a report to show responses for an event (ie Yes / No / Maybe)

The report is basically a list of names which are grouped by their response.  I would like to show the results in 3 columns - this I can do but only by applying columns to the whole report which means that each grouping starts on a new page - which I don't want.

Is there a way to in effect just apply columns to the detail section of the report?

Alternatively is there a clever way round this issue

Many thanks
0
Comment
Question by:correlate
  • 5
  • 3
8 Comments
 
LVL 119

Assisted Solution

by:Rey Obrero
Rey Obrero earned 500 total points
ID: 39708811
create a query with these columns , and use the query as the record source of your report

YesResp:IIF([response]="Yes","Yes","")  
NoResp:IIF([response]="No","No","")  
MaybeResp::IIF([response]="Maybe","Maybe","")  


see if that will work for your report
0
 

Author Comment

by:correlate
ID: 39708936
Hi capricorn1

Thanks for that - I tried it but has the same effect as per previously - the original query had 2 columns [Full Name] & [Attending].  or have I missed in what you're suggesting
0
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 39709067
post the sql statement of the query
0
 

Author Comment

by:correlate
ID: 39709192
Thanks Will post it in the next hour or so - am out at present but will post it when I'm back in
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 

Author Comment

by:correlate
ID: 39709552
Hi capricorn1

here is the query ,..

the original ( I added a grouping bit to put the groupings in order) ....

SELECT [AGM This Year Responses].[Full Name], [AGM This Year Responses].Attending, IIf([Attending]="Yes",1,IIf([Attending]="No",2,IIf([Attending]="Maybe",3,4))) AS GroupOrder
FROM [AGM This Year Responses];

Open in new window


The one post your post ...

SELECT [AGM This Year Responses].[Full Name], [AGM This Year Responses].Attending, IIf([Attending]="Yes","Yes","") AS YesResp, IIf([Attending]="No","No","") AS NoResp, IIf([Attending]="Maybe","Maybe","") AS MaybeResp
FROM [AGM This Year Responses];

Open in new window


many thanks
0
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 500 total points
ID: 39709680
did you use the last sql statement as the record source of your report?

open report in design view,
add three textboxes and set the control source to YesResp, NoResp, mayBeResp  accordingly

you can remove the textbox for "Attending" if you want to.
0
 

Author Comment

by:correlate
ID: 39709744
Ok cool, will give it a go in the morning
Many thanks
0
 

Author Closing Comment

by:correlate
ID: 39912178
Thanks v much for your help
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…

758 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

22 Experts available now in Live!

Get 1:1 Help Now