How to unhighlight list item



Hi All,

I have designed two subforms which contains list based on filter criteria.
In the top of main form I've given to option buttons to select each sub
form. When I selected option1 subform1 opend with some records in list. then
I clicked on some record. After this I selected option2 which displaying
subform2. While moving from one option to another option I'm making requery
for list.

Now again I selected option1 which displaying subForm1 with required results
in subForm1 list box but on record is hightlighted which I selected before I
was moving to option2.

How to unhighlight already selected record in listbox.

Please share your thoughts and Ideas which will be appreciated.

Advanced Thanks


Thanks Allen for your response.

Your code is working for the said issue.


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