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 Developer Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Cascading Combo Box
Sven Erickson 
   
3 years ago
I have a combo box on continuous subform I'd like to be dependent on a selection made in a combo box on the main form.

I've made a purchase order database. There's an order table, and order item table, a supplier table, and an item table. Each item is related to a supplier. When I make a purchase order, I select a supplier from a combo box on the main order form. I enter the order details (item and quantity) on the order item subform, which is a continuous form. For each record in the subform, I enter a quantity, and then from a combo box select the item being ordered.

When selecting the item being ordered, I'd like the values that appear in the combo box to be limited to items supplied by the supplier selected on the main form.
Adam Schwanz  @Reply  
           
3 years ago
Sven Erickson OP  @Reply  
   
3 years ago
Thank you Adam - I had the combo boxes set up as shown in the Cascading Combo Box video, but the fact that I was dealing with a main form and subform, it wasn't working. Adding the following code to the after update property of the combo box on the main form was magic, though, and made it work: Forms![name of main form]![name of subform].Form![name of combobox on subform].Requery

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Developer 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 10:34:01 PM. PLT: 0s