default value in value list combo box

A

Amanda

I have created an unbound combo box, set the Row Source Type to Value List,
and provided 3 values in "row source"- this works fine.

But I can't seem to set the default value. I type in the string that
matches the first selection, but in form view there is simply nothing
selected.

I'm using Office 2007, and I'm pretty sure I did not have this problem with
Office Pro 2003.

This is pretty simple, what's going on?

Thanks, Amanda
 
D

Dennis

Because it is unbound I don;t think it uses the default value.
In the form load event put this code instead.

Me.ComboBoxName = "First Item String"
 
A

Amanda

Thanks, worked great. - Amanda

Dennis said:
Because it is unbound I don;t think it uses the default value.
In the form load event put this code instead.

Me.ComboBoxName = "First Item String"
 

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