469,929 Members | 1,430 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,929 developers. It's quick & easy.

copying multi column listbox data to another multi column listbox

Hi,

Can anyone please explain to me how I can cop selected items from a
multi listbox(simple) to another multi listbox?

the code I found on msdn only seems to support single column copies, i
need to copy 3 colums per selection

I was using a for each itm in somelist.itemsselected

and using the rowsource property , but this only gives me the first column

The source listbox is a lookup in a table and the destination listbox is
unbound as I will insert these values programatically.

Any help welcome
Aug 29 '06 #1
1 4811
the data in other columns sits in the .Columns property of the listbox.
You can put those in the destination box by writing the RowSource
property directly, as a semicolon-separated string of items
(row1item1;row1item2;row1item3;row2item1 etc)

eric schreef:
Hi,

Can anyone please explain to me how I can cop selected items from a
multi listbox(simple) to another multi listbox?

the code I found on msdn only seems to support single column copies, i
need to copy 3 colums per selection

I was using a for each itm in somelist.itemsselected

and using the rowsource property , but this only gives me the first column

The source listbox is a lookup in a table and the destination listbox is
unbound as I will insert these values programatically.

Any help welcome
--
Bas Cost Budde
Holland
Sep 18 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Ellen Manning | last post: by
4 posts views Thread by gambit32 | last post: by
5 posts views Thread by Matthew Wells | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.