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 
Cascade Combo Boxes
Brent Davis 
     
2 years ago
Ok good people I need your assistance. I have a main form with a subform. I have a combo box on a main form (Company) and a combo box (Contact)on the subform. When the company is selected on the main form combo box I want only the contacts associated with the company to show on the subform combo box. I know it is not hard but my legos have been thrown all over the floor and I can't figure out how to get them back in order!  Thanks in advance for your assistance!
Kevin Robertson  @Reply  
           
2 years ago
Add a where condition to the SQL in the Row Source of the Combo Box on the Subform.
Brent Davis OP  @Reply  
     
2 years ago
Thanks Kevin! It took me a while to get the syntax right and to put a requery event in the after update of the main form but it is working!  This space is incredible!  Thanks for sharing your knowledge sir!!
Brent Davis OP  @Reply  
     
2 years ago
Ok, another issue with this one. I have a main form(customer profilef) and several sub forms that can be accessed by clicking the label associated with the subform.  The subform in question, callinformationform, has a combo box titled ContactsCombo that stores the contact associated with the call.  When I switch between the customer on the main form if I am on the call info tab on the previous customer, the combo box doesn't requery even though I have a requery event in the customercombo combo box on the main form(callinformationform.form!contactcombo.requery), if I click on one of the other tabs and then back to the call info tab the contactcombo on the call information form does requery. Why does it not requery when I switch the customer on the main form?  The sub forms are not tab controls but I used the structure that Rick uses because he hates tab controls.

Thanks once again for any and all assistance.
Brent Davis OP  @Reply  
     
2 years ago
ContactsCombo should be ContactCombo, no s.
Brent Davis OP  @Reply  
     
2 years ago
I get a runtime error 424 object required
Brent Davis OP  @Reply  
     
2 years ago
I believe I figured it out!

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 11:44:29 AM. PLT: 0s