removing a list item programatically

  • Thread starter Thread starter TG
  • Start date Start date
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
 
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 ?
 
Back
Top