Make Combo-box drop down using code

Can I make a combo-box "drop- down" by using code? Like it does when the "select and item from the list" message appears after the notintlist event?
pbettsAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
BrianWrenConnect With a Mentor Commented:
In code for the form with the combo on it, (let's say it's called cboData), use

     Me!cboData.Dropdown

If the combo is on a form and the code is not part of that form, (let's say the form is called frmData), use

    Forms!frmData!cboData.Dropdown

If the cobo is on a subform, and the code is part of the main form, and the control with the subform in it is called ctrlSubform, use

    Me!ctrlSubform.Form!cboData.Dropdown

Brian
0
 
pbettsAuthor Commented:
Thanx Brian...much appreciated
cheers from Oz
0
 
pbettsAuthor Commented:
hmmm... that was supposed to be 100points Brian..i'll have to throw you a lollly for another 90 :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.