Solved

ComboBox Fustration!

Posted on 2001-06-23
3
164 Views
Last Modified: 2010-05-02
Hi All!
Please tell me how to:
I have a combobox that needs to fill other fields upon selection by user.  This works fine if the user uses a mouse and clicks on a selection and I have Load_OtherFields in the click event.  But I have to also assume the user will be using the keyboard.  The keypreview is set to true using "SendKeys" - {TAB} so the user may use the Enter key to "tab".  This cannot be changed.  Where do I put Load_OtherFields so that when user scrolls the cbo box with the down key, a call isn't being made to the database each time? I realize the click event is invoked each time the down key is pressed.  I believe a flag is in order but don't know how to code it.  I've been putting this in the LostFocus Event of the cbo but what if I want the cbo to retain focus?  Any help will be appreciated!
0
Comment
Question by:alicelknight
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 50 total points
ID: 6222261
Do a search here, at EE. If i remember well, there is an old question regarding your problem.
Cheers.
0
 

Author Comment

by:alicelknight
ID: 6222388

Hey Richie, Thanks!  And for anyone else, here's the link:
http://www.experts-exchange.com/jsp/qShow.jsp?qid=20069835
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6223218
You are welcome anytime!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question