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 
Filter combobox as you type
Travis Hagen 
     
3 years ago
Hi. I've watched Richards Filter Combo Box as you type video.  Very helpful. Thanks Richard.

I have a question about multiple criteria in the where condition. If a Combo Box is based off a helper table and already has a criteria how do I add the search as you type to it. I can't seem to get it to work.

Original Rowsource = SELECT HelperID, HelperValue FROM HelperT WHERE HelperTypeID=8 ORDER BY HelperValue;  

I'm trying to add this to the where condition: AND HelperValue Like ""*" & Category.Text & "*"" "

Thanks.
Travis Hagen OP  @Reply  
     
3 years ago
Private Sub Category_Change()
        
    Category.RowSource = "SELECT HelperID, HelperValue " & _
        "FROM HelperT " & _
        "WHERE  HelperID=8 AND HelperValue Like ""*" & Category.Text & "*"" " & _
        "ORDER BY HelperValue; "
    Category.Dropdown
        
End Sub
Kevin Robertson  @Reply  
           
3 years ago
You are setting HelperID equal to 8 in your Where condition when it should be HelperTypeID.
Also: Set Auto Expand to No (on the Data tab)
Travis Hagen OP  @Reply  
     
3 years ago
I looked over that code 1000 times and didn't catch that.  Seems to have done the trick.  Thanks!

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/6/2026 8:34:26 AM. PLT: 0s