473,473 Members | 2,141 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to count and total check box values

2 New Member
I have a database of people who call into our office for assistance. They are designated by their location (A drop down menu with City/County/Out of County) and then the Nature of Problem is checked off (Eviction, Request for Housing, Implied Warranty) (Sometimes someone needs all three options).

I would like to show in a monthly report how many times a check box was clicked for the Nature of Problem and the location the call was from:

County
Eviction 5
Request for Housing 3
Implied Warranty 8
Total 16

City
Eviction 4
Request for Housing 9
Implied Warranty 2
Total 15

I am able to count all of the occurrences with =Abs(Sum([Nature of Problem-Request for Housing])) But how would I split that into County and City? If you could provide any assistance I would greatly appreciate it.

Query:
Q-County Monthly Participant Characteristic Report

Dropdown menu field in the Form is:
City/County/Out of County

Checkbox Field Names:
Nature of Problem-Eviction
Nature of Problem-Request for Housing
Nature of Problem-Implied Warranty
May 5 '11 #1
3 2768
Rabbit
12,516 Recognized Expert Moderator MVP
Do a group by on the location field.
Expand|Select|Wrap|Line Numbers
  1. SELECT ...
  2. FROM ...
  3. GROUP BY locationField
May 5 '11 #2
Cortney B
2 New Member
I attached a txt that shows the general layout of my report. I'm not sure how to implement the grouping with my current layout. I apologize for any confusion, I'm such a noob and still trying to learn. =)

I was able to separate out County totals in the Race/Ethnicity and tally the occurrences that populate from a drop down menu and organized with a query, with this: =Count((IIf([City/County/Out of County]="Lancaster County",1,Null)) And (IIf([Race/Ethnicity]="White",1,Null)))

The Landlord Tenant Info section shows County and City totaled, I am not sure how to separate out the County and still tally the check boxes to show only 12, not 20.
Attached Files
File Type: txt Access Question.txt (337 Bytes, 9 views)
May 6 '11 #3
Rabbit
12,516 Recognized Expert Moderator MVP
To progress, we need to know the SQL you're using for the report and the table structure of the tables that the SQL is referencing.
May 6 '11 #4

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

Similar topics

2
by: Joe Powell | last post by:
Suppose I have a table with 2 VARCHAR2(1)columns C1 and C2 and the following 3 rows: A B A C B A For each value in columns C1 and/or C2, I need to report the count of that value in each...
4
by: ZyPhiX | last post by:
Hi, I've got a little problem: I'm trying to make a webpage with a few scrolldown menu's and I want to count the values of them. In the scrolldown menu's are no numeric values but the have to...
2
by: SJM | last post by:
I have a report that displays records of real estate properties. It is possible for each property to appear a number of times for various reasons. Each record however is unique. What I would like...
2
by: patang | last post by:
I found the following to count the total number of VISIBLE rows of datagrid datagrid.visiblerowcount How do we count the total number of ACTUAL (not just visible) rows of datagrid? Thanks...
7
by: DP | last post by:
hi, how would u do a count for somthing that is checked, in a check box?? this is wat i've got so far, but its coming out with an error; =DCount("Available","tblFilm","='Checked'") i;ve...
1
by: iht | last post by:
Fairly new to Access and really doesn't know much about SQL except some basic commands. Currently I'm working with a database that I've already sorted by some queries, and here's a simplified...
1
newnewbie
by: newnewbie | last post by:
Desperately need help in creating a query to count unique values in a table. I am a Business analyst with limited knowledge of Access….My boss got me ODBC connection to the underlying tables for our...
2
theaybaras
by: theaybaras | last post by:
Hi all, I have a table and a subtable . CAssessments is a combobox that looks up a table called AssessList has 2 columns, an autonumber PK and a string for the title of the Assessment. ...
1
by: mfaisalwarraich | last post by:
Hi Experts Around the World. Well im new to this paradise (Access). i have no experties in Access but i can still work with my mind :). i wish to request you people as under: I made a table...
1
by: gopim | last post by:
count no of values enter into the textbox through javascript that should be dispalyed in one label control.
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...
0
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
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
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
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
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.