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 
Search Form 20 Questions
Walter Hamilton 
    
4 years ago
I have subform with a combo box that needs to be filtered by the value of 1 - 3 combo boxes on the main form.  I've tried with the query like the video shows and can't seem to get it to work.  The values need to match the values in the main form combo boxes if they aren't Null.  Can I construct an SQL statement to be the datasource for the sub form's combo box?
Richard Rost  @Reply  
           
4 years ago
Can you post a screen shot so I can see what you've got?
Richard Rost  @Reply  
           
4 years ago
The answer is "yes." I just need more info.
Walter Hamilton OP  @Reply  
    
4 years ago

Walter Hamilton OP  @Reply  
    
4 years ago

Walter Hamilton OP  @Reply  
    
4 years ago
Richard - I've posted a screenshot of the Row Source query for the Customer POC combo box on the subform.  This combo box needs to be filter according to the values in the following three combo boxes in the main form:

Major Command named [MajorCommand_ID]
Component Command [ComponentCommand_ID]
Command [Command_ID]

These three combo boxes are filtered from left to right so you will always have MajorCommand_ID if you have ComponentCommand_ID and Command_ID.

Likewise, you will always have ComponentCommand_ID if you have Command_ID.

I was trying to do it with the query as the Rowsoure, but I'm fine if it needs to be in VBA.  I just don't know how to formulate everything for the row source.

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 2:21:25 AM. PLT: 1s