Default to first value in combo box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to have the first value in a combo box be the default value in
that control? Thanks
 
Is there a way to have the first value in a combo box be the default value in
that control? Thanks

As the combo box Default Value property, write:
= [ComboName].ItemData(0)

Change [ComboName] to whatever the actual name of the combo box is.
 
This did not work. Is it maybe because my combobox is populated based on a
record choice from combobox2? In combobox2 onchange I have requeried
combobox1 though. Any ideas?

Alex

fredg said:
Is there a way to have the first value in a combo box be the default value in
that control? Thanks

As the combo box Default Value property, write:
= [ComboName].ItemData(0)

Change [ComboName] to whatever the actual name of the combo box is.
 

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

Back
Top