Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > TechHelp > Directory > Access > Search As You Type < Combo Box | Import Access >
Back to Search As You Type    Comments List
Upload Images   Link   Email  
Bound to Field in other Table
Tom Mura 
     
7 months ago
Thank you for this video. I've applied it successfully to two unbound combo boxes on a page but I want to use this technique for a combo that is bound to a field. The combo box uses this SQL to pull a list of team names from a query:

SELECT [TeamNameFromTeamQ].SCName FROM TeamNameFromTeamQ ORDER BY [SCName];

But the control source is a field in a different query.

Is that not possible or am I doing something wrong.

Richard Rost 
            
7 months ago
You could do it with the combo box using a different text box... because every time you type a character into the combo box and try to requery the combo box itself, you'll lose your value.
Tom Mura OP 
     
7 months ago
Great, I've got that working but the combo box will not drop down because it doesn't have the focus. Is there a way to have the combo box drop down while I'm typing in the text box?
Richard Rost 
            
7 months ago
Not easily, no. You could probably do something with a KeyDown event, but I wouldn't recommend it. If that's what you want, use a List Box below a Text Box. I'll play with it when I get a few free minutes and see what I can come up with.
Tom Mura OP 
     
7 months ago

Tom Mura OP 
     
7 months ago
Thanks, I used a text box to enter the search criteria and then click "Tab" to dropdown the box when it gets focus.
Richard Rost 
            
7 months ago
There ya go!

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Search As You Type.
 

 
 
 

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 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 12/13/2024 5:28:46 PM. PLT: 1s