Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Counting CheckBoxes
Jay 

16 years ago
Hi, i have 10 checkboxes on a report on access 2003. I want to be able to count how many of these are not checked and display this in a text box.

e.g

Checked=4

Unchecked=6

So the box would return "6"

I have tried some CountIf functions but its been years since i have used them and i've either got a bit rusty with them or am doing it completely wrong.

Thanks in advance


Answer from Richard Rost:

If these checkboxes are all FIELDS in the same RECORD, then you can create an unbound textbox with the following formula as the Control Source:

=(Box1+Box2+Box3)*-1

You'll obviously want all 10 boxes in there (Box1 is the name of your first checkbox, et al.)

You'll then multiply that result by -1 because a YES checkbox is given the value of -1 (a NO gets 0). So just add them all up and negate it.

Easy enough?

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 8/21/2026 9:43:59 AM. PLT: 1s