Coping/Referencing/Cloning list/droplist object values to another list/droplist object

Avatar

Avatar

Yasser__AST-IT_

Avatar

Yasser__AST-IT_

Yasser__AST-IT_

11-08-2011

Hi,

I have a list object (list1) that is empty and another list that have over 1,000 items (list2).

How I can copy the values in list2 to list1 without looping through list2 items? Is there a reference assignment? For example; you can copy the image value of one image object to another image object by using the following assignment:

    ImageField1.rawValue = Image1.value.image.value;

I tried the following for the list but did not work :

list1.rawValue = lsit2.rawValue;

lsit1.value = list2.value;

list1.items = list2.items;

Really appreciate your help,

BR,

Yasser

View Entire Topic

Avatar

Avatar

Yasser__AST-IT_

Avatar

Yasser__AST-IT_

Yasser__AST-IT_

11-08-2011

Hi Naill,

Thank for your reply.

The second case is what I'm looking for... I'll visit the links you suggested an get back to you if I have any challanges.

Thanks again,

BR,

Yasser