Solved

Access Report

Posted on 2013-12-10
8
306 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

920 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

17 Experts available now in Live!

Get 1:1 Help Now