473,503 Members | 1,711 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Create a Report on Data from a Survey

1 New Member
Hi,
I am trying to create a report on Access for surveys tallying up multiple choice questions. But I need to perform additional limits restraining them to the last 100 survey IDs because we continuely add surveys and report on changes.

Example:
Q1 A=12 B=3 C=2 D=0
Q2 A=12 B=3 C=2 D=3
Q3 A=11 B=2 C=1 D=4
Created 4 Unbound Text Boxes on your Report, with their Control Sources set to the following:
= DCount("*", "tblSurvey", "[Reply] = 'A'")..........'for Reply A
= DCount("*", "tblSurvey", "[Reply] = 'B'")..........'for Reply B
= DCount("*", "tblSurvey", "[Reply] = 'C'")..........'for Reply C
= DCount("*", "tblSurvey", "[Reply] = 'D'")..........'for Reply D

Is it possible to include further limits/criteria such as SurveyID = 1-99
Mar 15 '11 #1
1 1228
colintis
255 Contributor
From the control sources, change the criteria part to this.
Expand|Select|Wrap|Line Numbers
  1. = DCount("*", "tblSurvey", "[Reply] = 'A' AND SurveyID BETWEEN 1 AND 99")
Mar 15 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1732
by: IMRAN SAROIA | last post by:
I just transfered my VS.NET 2002 app (Windows App) to VS.NET 2003 version. But I cannot run the reports through crystal report viewer. It says that Invalid Report Data Source while these reports...
2
1371
by: Jean-Claude Bertrand | last post by:
Hello to all .Net programmers! I am a consultant and I create very small application for small enterprise. Most of the time in my application, the number of users is under 5! I still program...
12
7376
by: pw | last post by:
I'm an experienced Access/VBA programmer, trying to become competent using VB.net. Using base vb.net it seems to me to be an AWFUL amount of work to create data-entry forms similar to what one...
0
14252
ADezii
by: ADezii | last post by:
Rather than using CurrentProject.Connection or entering your own Connection information, ADO supports storing Connection information in an external file called a Data Link File (which normally has a...
1
2697
by: tbehmand | last post by:
Hi I am getting the following message when I click on 'Create report in Design view', does anyone know how to fix this. "There was a problem retrieving printer information for this object. The...
1
1164
by: alem | last post by:
Hi all help me how to create Report in SQL Server or SQL Query Analyzer. thank you in advance
6
1674
by: alem | last post by:
Hallo pls help me how to create Report in Visual Basic.
0
1092
by: BT08 | last post by:
I am creating an automated questionnaire (form) in excel to be used to entry data. I need to create a unique survey number. The survey number should be linked to a retrieve button. The goal is if...
1
2150
by: SantyBhi | last post by:
Plz , any one can explain how to create report in c#asp.net without using Crystal Report.
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7086
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7330
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.