Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HOW TO EMPTY A LIST

Status
Not open for further replies.

619Ghz

Programmer
Dec 3, 2003
17
US
Hi,
I'm trying to empty a list, so it doesn't display any row if it's empty, coz' if you do.. list1.rowsource = "" it'll display a list with one row with spaces..

I tried list1.rowsource = null, but is not being accepeted...

thanks for the help...

 
Actually, Im using Access 97...
so there's no 'Clear' property for listbox...

Thnx though.
 
Im not sure why, but I didn't have the removeitem property, I guess because Its not a value list..

Thanks anyways...
 
Are you sure you're in the right forum? This looks like you're programming in VBA, not VB. The VBA controls aren't the same as VB

Try one of the Access forums

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top