clear selected item in list box

R

ridders

Hi

I have a list box LstDetentions in which a user can select a specific
detention date.
A control cmdDelete allows the selected date to be cleared later if
required. However if more than one date has been selected, using cmdDelete
always deleted the first detention date no mastter which date has been
selected for deletion.
Ideas on how to identify the problem please.

Thanks
 
S

Steve Sanford

I am not sure what you are trying to do.

In the subject line you say "clear selected item in list box" but then you
use "cmdDelete".

So, do you want to unselect selected items in a multiselect list box ....

or do you want to delete the selected items from the list box ROW source?

HTH
 
R

ridders

Hi

Sorry - in retrospect I can see why it wasn't clearly explained.
I was 'unselecting'
Anyway I've solved it already thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top