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
 

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