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 
A option appears only if you select an item
Henry 
    
13 years ago
How would you recommend I do, to get an option to become available when you request an item out of a list.
I have a list of activities i a combo box, out of 8 or nine activities 2 would present a second option for the user.
For example:
Activities in activitytypeT table: workout, role play, prospect, appointments and contracts.
Of these activities, appointments and contracts should pop an option to select from a category (in categoryT): buyer or seller.
These could be an option button, or a button, or a drop box.

ActivitytypeT contains the fields: activitytypeID, activity, categoryoption.
What I was thinking is to place a "1" in the activityes that would have the option of selecting the category (buyer or seller), and then, somehow in a query, identify when the option will pop up, that is as far as I get, resolving the query and adding this to my form is virgin territory.
Please help



Reply from Richard Rost:

You'd need a little bit of coding. Make a 2nd combo box. Let's call it "Combo2". Now, in the AFTER UPDATE EVENT for the first combo, you could say:

If Combo1 = "5" then
  Combo2.VISIBLE = true
else
  Combo2.VISIBLE = false
end if

Of course, you can add multiple values if you want - or even make it a table field with a separate column if you don't want to hard-code it into your VBA.

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/16/2026 10:15:22 PM. PLT: 1s