For a combo box or a single-selection list box, just set the value to Null,
e.g.:
Me.MyCombo = Null
To clear a multi-select list box
Function ClearList(lst As ListBox) As Boolean
If lst.MultiSelect = 0 Then
lst = Null
Else
For Each varItem In lst.ItemsSelected
lst.Selected(varItem) = False
Next
End If
End Function
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Peter Bailey" <pe*********@andaluz.fsbusiness.co.uk> wrote in message
news:ci**********@news7.svr.pol.co.uk...
I have a form that allows the user to selct items from a listbox and combo
box.
how do I reset them ready for the next set of entries. I thought I would
have a clear button.