Combo Box - Initialize to first Item in list

D

Dorian Chalom

How do I initialize the item in a combo box to be the first item in the
list?

The ComboBox's rowsource is a query.
 
M

Marshall Barton

Dorian said:
How do I initialize the item in a combo box to be the first item in the
list?

Try setting the combo box's Default Value property to the
expression:

=combobox.ItemData(0)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top