A AccessFreak Registered User. Local time Today, 17:54 Joined Feb 19, 2009 Messages 69 Feb 24, 2009 #1 I tried. listbox1.clear But it does not work Can someone help.. thanks
C CameronM Registered User. Local time Tomorrow, 02:54 Joined Jan 9, 2009 Messages 147 Feb 24, 2009 #2 I assume you have a List Box control with a source set to 'Value List'. If you do, then you can iterate through the items and remove them. Code: While ListBox1.ListCount > 0 ListBox1.RemoveItem (0) Wend Or you can simply set the Row Source to a null string. Code: Me.List4.RowSource = ""
I assume you have a List Box control with a source set to 'Value List'. If you do, then you can iterate through the items and remove them. Code: While ListBox1.ListCount > 0 ListBox1.RemoveItem (0) Wend Or you can simply set the Row Source to a null string. Code: Me.List4.RowSource = ""