Clear all data in ListBox? (1 Viewer)

bulrush

Registered User.
Local time
Today, 10:53
Joined
Sep 1, 2009
Messages
209
I have A2003 on Win XP.

I swear in A95 or A97 there used to be a method to clear all items from an unbound ListBox. Now in A2003 I used help and do not see anything like that. Is there a preexisting method to clear all data from a list box?
 

Mr. B

"Doctor Access"
Local time
Today, 09:53
Joined
May 20, 2009
Messages
1,932
If all you need to do is to clear all items from the list, set the Row Source property to nothing:

Me.NameOfListBox.RowSource = ""

That will clear all items from the list.
 

Users who are viewing this thread

Top Bottom