Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Check box help
Mark Desens 
      
3 years ago
On one of my forms I have a checkbox, Im using a msgbox to see if its checked or not. Any advice on the code to use?
Kevin Robertson  @Reply  
          
3 years ago
Simple If Then statement.

If CheckBoxName Then
   MsgBox "Checked"
Else
   MsgBox "Unchecked"
End If


Or you could do it in one line with the IIF Function.

MsgBox IIf(CheckBoxName, "Checked", "Unchecked")
Mark Desens OP  @Reply  
      
3 years ago
Thanks Kevin.  Just needed to word it correctly.
Gregory Clancey  @Reply  
    
3 years ago
Maybe I'm wrong, but I've always found the Access CheckBox control to be lacking. It's small, colourless and I'm annoyed when an empty little square is displayed for as "FALSE" condition. I most often prefer continuous Forms that show a large, green check mark (I like a 20pt Wingdings chr(252). I have a TextBox bound to a field in the underlying table that contains either the number 252 or nothing. It's not perfect, but looks better.
Kevin Robertson  @Reply  
          
3 years ago
Gregory,

Have you watched the Large Check Box video?
John Davy  @Reply  
         
3 years ago

John Davy  @Reply  
         
3 years ago
Kevin is correct. You can do what you want with it. Watch the video!  John
Gregory Clancey  @Reply  
    
3 years ago
Thanks! I shall and I think I may have seen this at some point in the past. Like all of Rick's TH videos this one looks like the best answer.

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: 5/6/2026 4:05:52 PM. PLT: 1s