[AccessD] Determine whether list box control has a selected value

Stuart McLachlan stuart at lexacorp.com.pg
Tue Nov 3 16:51:43 CST 2015


Just to clarify, that would be:

If lstMyList.ItemsSelected.Count ...
-- 
Stuart

On 3 Nov 2015 at 13:31, Charlotte Foust wrote:

> Check the selected items count.
> 
> Charlotte
> On Nov 3, 2015 1:16 PM, "FW Salato Center" <Salato at ky.gov> wrote:
> 
> > I need to write a quick validation snippet for a multi-value list
> > box. This control's Value property always returns Null. What's the
> > quickest way to determine if something's selected? I don't need the
> > actual value, just a True/False response - there's an item selected
> > or there isn't.
> >
> > Thanks!
> > Susan H.
> > --
> > 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