The version is 2010. I tried the above code and it only deselects the top item in the list. if I select any different item it doesn't deselect it. I was able to download the attachment using a different browser
Access 2010 is the version I'm using. (lstYourListBox.Selected(i) = False) Only deselected only the top item in the list. If I selected a different item that should have fired the deselect code it didn't deselect it.
I figured if I passed the selected item list index to a textbox, I could deselect the item using the value of the textbox of as part of the on click event if it didn't meet criteria. But I'm not sure how to do that.
That's not a bad idea but would require a major form overhaul. I was hoping for something to solve the issue not require a major re-work. Is there a way to deselect an item by list index?
It doesn't sound daft at all. I should better clarify what I'm trying to do. There is a query looking at criteria on the form including the list item selected. I am sending the item selected value to a textbox(invisible) each time an item is selected. A on click procedure is evaluating each...
My Name is Don and I'm from Florida. I have been working with Access for a bit and have come across a problem that I haven't found a solution to.
The problem: I have a multi-select list box that each selection is being evaluated to see if it meets criteria. If it does I want the last...