Solved

ComboBox Fustration!

Posted on 2001-06-23
3
158 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
  • 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

708 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now