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.
 
Back
Top