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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combo Box help

Status
Not open for further replies.

anilsantoshs

Programmer
Sep 16, 2003
18
FR
Hi,

I need a piece function or code which will populate the Combo Box in a form with same value...

The combo box will have 3 option like YES/NO/NA.

All these information should be populated in the Combo Box at the time of the form load..

Thanks

Anil
 
anilsantoshs-

Please read FAQ222-2244 for appropriate forum usage. Others will not write your program for you. I also see that you have given very little feedback to previous responses that you have recieved from posters. Perhaps you should go back to some of them and let others know if they have helped you out.

For this issue, you will want to look into the AddItem method of the combobox.
 
Private Sub Form_Load()
With Combo1
.AddItem "YES"
.AddItem "NO"
.AddItem "NA"
End With
End Sub

ynad
----
It is foolish to listen to someone who will not listen to you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top