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

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Progressively Filter a Listbox by a Textbox    
 
   
niesz
post Dec 22 2009, 04:11 PM
Post #1

Utter A-fishin'-ado
Posts: 17,723
From: Cincinnati, Ohio, USA . . . ><((((°>



I have found this filtering technique very useful from time to time. Perhaps you will, too.

Example: Your listbox contains several hundred entries. You want to type in the first few letters of what you're looking for to narrow down your selection.

This example will show you how to use the OnChange event and build a SQL string dynamically to reassign the listbox rowsource.

There is both an ACC2007 and ACC2000 version attached.

Enjoy!
Attached File(s)
Attached File  FilterBy.zip ( 63.37K ) Number of downloads: 716
 
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: 25th May 2013 - 10:28 AM