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

Setting a Default Value in a combo box for Access.

Status
Not open for further replies.

Rmck87

Programmer
Jul 14, 2003
182
US
Hello,

I want to set a default value for a combo box. What I mean by this is that, whenever I enter my form, I want there to already be a value in the combo box, so that I can just click the search button without having to select any options in the combo box. The name of the combo box is Combo48, and the values inside are under the field dbo_member.member_id, and i want it to select the first value in the field as the default value. The field dbo_member.member_id is run from a query that I created in the beginning of my code. If someone could help with this as soon as possible that would be great! Thanks.

Ryan
 
try this...


Me.your_combo_box.Selected(0) = True
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top