From Listbox1 to listbox2

  • Thread starter Thread starter Floyd Forbes
  • Start date Start date
F

Floyd Forbes

I have two listboxes on Form1. Listbox1 and Listbox2. Listbox1 is
base on a table on names. Listbox2 is base on a blank table. How
can I use a command button to copy names from list1 to list2.

Floyd
 
Floyd said:
I have two listboxes on Form1. Listbox1 and Listbox2. Listbox1 is
base on a table on names. Listbox2 is base on a blank table. How
can I use a command button to copy names from list1 to list2.

Floyd

use the selected items collection of the From Listbox and then use
..AddItem to the To Listbox. (assuming you're using some version of
Access after 2000).
 
Back
Top