Solved

Access Report

Posted on 2013-12-10
8
311 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
[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
  • 5
  • 3
8 Comments
 
LVL 120

Assisted Solution

by:Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1) 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 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 39709067
post the sql statement of the query
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 

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
 

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 120

Accepted Solution

by:
Rey Obrero (Capricorn1) 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
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.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
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…

628 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