removing a list item programatically

T

TG

I am wondering how to take items generated from a database and
displayed in a list box and how to update the listbox so that when I
move that item to another list box when a button is clicked it removes
that instance of the item from the first listbox. Did all that make
sense? I am using Access 2000 VBA.

Thanks
TG
 
J

JL

Hi TG,
If I understand you correctly. You have an list box or combo box that need
to be refresh after something have changed that list.
If that is what you are asking, you can simplely just use the following code
in VBA.
me![ListBox].requery

Hope this answers your ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top