Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Transfer Values from One Listbox to Another

Status
Not open for further replies.

cghoga

Programmer
Jun 26, 2003
614
US
This may seem very elementary to you dBase experts. I tried searching the forum, but had no luck finding a solution to the problem I have.

I have 2 listboxes on my form. The first listbox is populated by values in a table. I need to be able to add the values (can be multiple values selected) I have selected from this listbox to the other. I also need to be able to clear out the values. Ideally I would like to have an Add, a Remove, and a Clear button.

Can anyone tell me the code to do this?

Thank you for any help or guidance.
 
I figured it out.

I created an array and then set the 2nd listbox's datasource to the array, along with a few other things.

Thanks anyway.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top