Skip to Content
author's profile photo Former Member
Former Member

combo

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2008 at 10:33 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2008 at 09:16 AM

    Plz anyone reply

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.