assign value to combobox

M

mcnews

the following code doesn't change the displayed value in my combo box.
when i give focus to the combobox i see that the right value is
selected, but i don't see it till i click on it.

Private Sub Form_Click()

Forms!aMain!Dx.Value = IIf(Not IsNull(Dx), Dx, Null)

End Sub
 
Top