mtechserv
10-20-2009, 07:23 PM
I'm working on a program that will be used to facilitate the creation of packlists.
Part of the pack list creation involves selecting items from one listbox (named "dnlistbox") selecting an "Insert" button (just a simple command button) which transfers the selection to another listbox ("skidlistbox").
The "dnlistbox" is a two column list box that is populated with an array. One column in the list box is part numbers, and the second column in the list box is the corresponding item size for that part number. As the user makes a selection in "dnlistbox" and selects "insert", I want both columns of that selection to be inserted into "skidlistbox".
"Skidlistbox" starts out as an empty listbox.
It sounds simple enough, but I can't get the data to show up properly in the "skidlistbox". I've tried countless combinations of list, additem, boundcolumn, etc. but I always end up with the part number from the first column of "dnlistbox" in both columns of "skidlistbox".
There's probably a very easy solution to this. Can someone point me in the correct direction.
Thanks
Brian
Part of the pack list creation involves selecting items from one listbox (named "dnlistbox") selecting an "Insert" button (just a simple command button) which transfers the selection to another listbox ("skidlistbox").
The "dnlistbox" is a two column list box that is populated with an array. One column in the list box is part numbers, and the second column in the list box is the corresponding item size for that part number. As the user makes a selection in "dnlistbox" and selects "insert", I want both columns of that selection to be inserted into "skidlistbox".
"Skidlistbox" starts out as an empty listbox.
It sounds simple enough, but I can't get the data to show up properly in the "skidlistbox". I've tried countless combinations of list, additem, boundcolumn, etc. but I always end up with the part number from the first column of "dnlistbox" in both columns of "skidlistbox".
There's probably a very easy solution to this. Can someone point me in the correct direction.
Thanks
Brian