FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Code to Set and Get value for a combobox
Posts: 110
Joined: Wed Feb 18, 2009 09:58 AM
Code to Set and Get value for a combobox
Posted: Mon Mar 02, 2009 08:05 AM

Hi,
code to store a Datatable object to combobox.and i want to Display "Name" and work "Id" at the background.
thanks in Advance
Regards,
Sajith

Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: Code to Set and Get value for a combobox
Posted: Mon Mar 02, 2009 08:12 AM

Could not understand your requirement clearly. If u want to display a name and return the code assosciated with the name when the user select the item from the Combobox, then Please use DbCombo instead of Combobox.

Anser

Posts: 110
Joined: Wed Feb 18, 2009 09:58 AM
Re: Code to Set and Get value for a combobox
Posted: Mon Mar 02, 2009 08:19 AM

thanks
Regards ,
Sajith

Continue the discussion