UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Combo Box/List Box Combination    
 
   
accesshawaii
post Oct 3 2005, 09:25 AM
Post #1

UtterAccess VIP
Posts: 4,606
From: From Hawaii - Now in Wisconsin...Am I Nuts?



I have a list box that is set to multiple select. The problem is that there are a few hundred selections in the list, so it's a hassle for the user to scroll down to get what they need.

What I'd like to do and I don't know if this is possible but to have a combo box with the same data as the list box, so when the user types in the record they need and it appears in the combo box, once they hit the enter key, it will highlight the record in the list box. Does anyone know a way to do this? Any assistance would be appreciated. Thanks.
Go to the top of the page
 
+
schroep
post Oct 3 2005, 10:19 AM
Post #2

UtterAccess VIP
Posts: 5,200
From: Denver, Colorado [USA]



Here is some info on Stephen Lebans' site on scrolling within a listbox from code.

In the After_Update event of your combobox, you could scroll to (and mark as selected) the item in the listbox.

Hope this helps.
Go to the top of the page
 
+
accesshawaii
post Oct 3 2005, 08:29 PM
Post #3

UtterAccess VIP
Posts: 4,606
From: From Hawaii - Now in Wisconsin...Am I Nuts?



Thanks. After much frustration, finally figured it out and wouldn't you know it? It involved very little code. Guess, I was trying to over complicate it.
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 24th May 2013 - 11:36 PM