>hello Naomi
>i try with additemlist but it is adding only first colum with value.
>here is my code "thisform.pageframe1.page1.list2.addlistitem(thisform.pageframe1.page1.list1.value)" .if i am missing something then update me .Thnak you
Instead of the ListBox.value you need to use List property, e.g.
with thisform.pageframe1.page1
lnIndex = .List1.ListIndex
.list2.addlistitem(.List1.List[m.lnIndex,1],1)
.list2.addlistitem(.List1.List[m.lnIndex,2],2)
endwith
From the top of my head and not tested.
Check List, ListIndex and AddListItem methods/properties in the Help.
If it's not broken, fix it until it is.
My Blog