Solved

Access Report

Posted on 2013-12-10
8
307 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 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

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

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.

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…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
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…
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…

810 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