[AccessD] Multi-select listbox - Solved

Jim Lawrence accessd at shaw.ca
Tue May 29 10:18:20 CDT 2012


...And the answer is.......? ;-)

Jim

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andrew Lacey
Sent: Tuesday, May 29, 2012 8:05 AM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] Multi-select listbox - Solved

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
-- 
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