[AccessD] Clear item from listbox

Gustav Brock gustav at cactus.dk
Mon Dec 8 11:13:47 CST 2003


Hi Charlotte

> Are you trying to do this in Access or in the stored procedure?  In
> Access, you can loop through the listbox's itemsselected collection and
> set each item's Selected property to false.  If you're just seeing a
> marquee around the item rather than reverse video showing it is
> selected, then I can't help.  I've never figured out how to get rid of
> that either.

Move the focus off the listbox.

/gustav


> I have a listbox and I want to clear all items selected in it.  To do
> that, I am executing a stored procedure.  But, even when I've done that,
> the first row in the listbox remains selected.  Is there any code that
> will unselect all items in a list box?  I'm in an adp in Access XP.



More information about the AccessD mailing list