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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

urgent, listbox

Status
Not open for further replies.

alifyag

MIS
Apr 15, 2002
18
US
hello,
i have a list box to which i keep addign records.
i also ahve a delete button.
when i click on the delete button i want the record in the listbox to get deleted and it shoudl eb physically removed.
its an unbound form.
i have used the following code in my delete button but the record is still seen in the list box.
Dim str As String
str = "" & Me!lstInvoice.Column(5)
colList.Remove str

thanks

 
I need more information. Your statement
colList.Remove str

should probably be giving your some kind of error like, "Method or Data member not found", correct? The .remove is to be used with a Collection object. I need to see more of your code. Also, what data is in .column(5)?

I need to have a better explaination of your data and all the code in the button please.

Bob Scriver
 
hi bob.
thanks for your reply. avtually i got it working. i declared another function. but anyways thanks for replying :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top