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 
Cmd Buttons
Frederick W Fisher 
     
5 years ago
I have an address book database.  On the main form there are a number of command buttons that apply different filters. Example Last Name begins with A.  Is there a way to show the button as selected or active. (ie change the background color or the command button text color or some other method) and then when the clear filter button is pressed the button goes back to its default state?
Richard Rost  @Reply  
           
5 years ago
Can you upload a screen shot to show me what you are working with? (Upload Images link at the top of your post).
Adam Schwanz  @Reply  
            
5 years ago
Lots of ways to do this, I'm not sure where you are at skill wise though if you can use VBA. Toggle buttons are an option, an unbound non-visible text field and when you push one of the filter buttons have it set the value in the text box to a unique number in that field. Then you could use an if then statement to change the caption or color of the button that's stored in it.

If you can't use VBA, maybe there is something simpler that I don't remember. I'm not sure if maybe conditional formatting would be able to work based on what filter was applied, I never use it.

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/7/2026 10:09:28 AM. PLT: 1s