Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Attempting to refresh a selection in a Multi-Selection List Box

Status
Not open for further replies.

alex35

Technical User
Oct 15, 2001
15
US
I am attempting to remove highlighted selections on a multi-selected list box when the form where the list box resides is refreshed. I am using Access 2003.

The following is the coding that is being used:

Me!mylistbox.Value = Null

This code works fine as long the list boxes does not have the multi-selection option invoked.

Any guidance you can provide would be much appreciated.

Thanks in advance,
alex35
 
You may try this (typed, untested):
Dim savRS As String
With Me!mylistbox
savRs = .RowSource
.RowSource = ""
.RowSource = savRS
End With

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Beautiful. Worked like a charm.

Thanks again,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top