[AccessD] Multi-select listbox

Andrew Lacey andy at minstersystems.co.uk
Tue May 29 08:46:22 CDT 2012


Hey all, here's a rarity, an actual Access question.



Given a multi-select listbox what I want to achieve is this:

- user types a search value in a textbox

- routine searches for the first occurrence of search value in the list

- that first occurrence is selected



I have all of that working BUT if the first occurrence is above or below
what's visible on-screen the entry is selected but can't be seen without
scrolling. What I want to do is reposition the list so the user can see the
entry that has been found and selected. I reckon if it wasn't multi-select
then setting the listbox's Value property would probably work but that's no
use on a multi-select. Anyone know how to achieve this?



Cheers



Andy





More information about the AccessD mailing list