[AccessD] Multi-select listbox - Solved

Andrew Lacey andy at minstersystems.co.uk
Tue May 29 10:04:35 CDT 2012


It's ok I've solved it myself

Andy


On 29 May 2012 at 14:46 Andrew Lacey <andy at minstersystems.co.uk> wrote:

> 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
>
>
>
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com


More information about the AccessD mailing list