Setting the Deault value of a combo box

G

Guest

Hi, I'd like to set the default value of a combo box to the first value in a
result set returned by a select query.

[myQuery]![Field]! ???? =)

Could someone help me out here?

cheers
 
A

Allen Browne

Try setting the combo's DefaultValue to:
=[MyCombo].[ItemData](0)

If the combo has Column Headings, use 1 instead of zero.
 

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