Reseting list boxes

lennyBaby

New member
Local time
Tomorrow, 00:47
Joined
Nov 15, 2005
Messages
9
I am doing a search form on a database and after the search, I have 'new search' & 'refine search' options. The list box is filled from a query and when the user selects 'new search' I want it to show nothing selected.
 
Code:
Me.lstYourListBoxName.RowSource = ""
Me.lstYourListBoxName.Requery
 

Users who are viewing this thread

Back
Top Bottom