Question on combox 
Author Message
 Question on combox
hi,

i am trying to populate description in a combo box from a code tabe. Some
functions i required includes:
get_combo_item , select_combo_item,etc. However, i am not keen to implement
using dbcombo and data control, simply, i hate to create a data control
during design time. is there any simple way to do it...

regards,
kersin



Sun, 06 Jan 2002 03:00:00 GMT
 Question on combox

Hi David,

I'm not sure I understand what you mean, but a simple way to keep track of
the origins of records loaded into a combobox, is setting the
cboTemp.ItemData(cboTemp.NewIndex)=[Key from db]

When further information from the database is needed, inspection the value
like
Key=cboTemp.ItemData(cboTemp.ListIndex)

Good luck,

Ren M. Balslev


Quote:
>hi,

>i am trying to populate description in a combo box from a code tabe. Some
>functions i required includes:
>get_combo_item , select_combo_item,etc. However, i am not keen to implement
>using dbcombo and data control, simply, i hate to create a data control
>during design time. is there any simple way to do it...

>regards,
>kersin



Mon, 07 Jan 2002 03:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. How to put data into the combox box

2. combox within datagrid --- need some urgent help

3. Access combox in VB

4. Combox not standart II

5. Combox with Auto Search

6. database-aware Swing components (table, editboxes, combox, listboxes) available?

7. Combox display problem : data is changed !! Urgent !!

8. returning TWO columns of data for disp. in combox

9. How to simulate a checkbox or combox in a DBGrid ?

10. Questions, questions and more questions...

11. QUESTION?: Swapping Table :QUESTION?

12. Update question and SQL question


 
Powered by phpBB® Forum Software