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 
Text Labels and prompts
Doug 

16 years ago
Hello, I am an intermediate access user. Any code that is on my reports I have done, I have received instruction help from other people.

My Question.
I have created a data entry form.
On this form, I have a combo box that filters the second combo box, limiting its choices. From there, the user fills out the rest of the form in a specific order. What I would like to do is this.
Have the label for the 1st combo box appear in red, then after the combo box choice is made, have the label for the 2nd combo box appear in red font, and so on.
This would help the data entry person enter the information in the correct order.
Or, could I have the labels for the combo boxes not be visible until information is selected in the previous combo box.

Thank You for your time, please let me know if I should provide more info.


Answer from Richard Rost:

In the OnCurrent event for your form (which runs when you move from record to record or open the form) set the label colors:

Label1.backcolor = vbred
Label2.backcolor = vbgreen

Then, in the AfterUpdate event for ComboBox1 you could say:

Label1.backcolor = vbgreen
Label2.backcolor = vbred

(or whatever colors you want).

Here's a tutorial I wrote which does something VERY similar (with filtering the combo boxes) and will show you how to use the AfterUpdate events:

I get asked this question all the time. You've got two or more combo boxes and you want the first one to filter the second one. I get asked this so much that I recorded a video tutorial explaining how to do it:

http://599cd.com/tips/access/two-combo-boxes?key=BlFAlEx

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/31/2026 9:13:11 PM. PLT: 0s