Copying items from one list to another in the same(or different) f

S

Sara

Hi,

I am working in a form that has 2 list boxes, I need to be able to select
items from list 1 and drag and copy the selected items into list 2.
I found a module in Microsoft page that does something very similar to what
I want with the exceptionm that this code removes the selected items from
list 1 and pastes them to list 2.

I will provide the link for the code I am using:

http://support.microsoft.com/kb/287642

I would really appreciate your help.
 
D

Douglas J. Steele

The reason it no longer shows up is because you updated Selected from False
to True. The RowSource for List1 only returns those records where
Selected=False. Change that so that it returns all records in Customers,
regardless of the value of Selected.
 
S

Sara

You are right, thanks

Douglas J. Steele said:
The reason it no longer shows up is because you updated Selected from False
to True. The RowSource for List1 only returns those records where
Selected=False. Change that so that it returns all records in Customers,
regardless of the value of Selected.
 
Top