How do you clear a listbox

  • Thread starter Thread starter Wilb
  • Start date Start date
W

Wilb

Guest
The normal VB clear method doesn't work in Access 2000
 
Hi,

To empty the listbox, set the rowsource to nothing, i.e.
Code:
me.listboxname.rowsource = ""

To enable the entries reset the rowsource to the original sql statement.


Hope this Helps

Andy
 

Users who are viewing this thread

Back
Top Bottom