cancel
Showing results for 
Search instead for 
Did you mean: 

combo

Former Member
0 Kudos

hi.

I have added a combo box.when i click Define New i have enter datas and that datas have to be displayed in the combo box.plz reply.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Govindaraj,

What you need to do to fill the combo box is set it's valid values using the following code :

Assuming you have declared your combo box as oCombo


oCombo.ValidValues.Add("Combo box Content", "Description")

replace combo box content with what you need to put in the combo, it can be a regular string, or the result of a querry from a RecordSet, if you don't need a description you can put an empty string in stead of "Description"

Hope this helps

Amin

Answers (1)

Answers (1)

Former Member
0 Kudos

Plz anyone reply