No. My fault. I'm *always* forgetting this. You must specify the form
section you want to affect. So if all your controls are in the Detail
section:
Select Case Me.combobox39
Case "Upper"
Me.Section(acDetail).BackColor = vbYellow
Case "ACE"
Me.Section(acDetail).BackColor = vbRed
End Select
or (better) :
With Me.Section(acDetail)
Select Case Me.combobox39
Case "Upper"
.BackColor = vbYellow
Case "ACE"
.BackColor = vbRed
End Select
End With
That seemed to work. I also have another screen that I want to do this
to. This combo box has 4 fields in the query and it shows 2 of them in
the dropdown box. I want it to be on the 4th field (which also appears
elsewhere on the form to keep the data there once the form is
refreshed with all the proper data.)
How would that work? I tried using the Combo Box field name (also
Combo Box 39), but it doesn't recognize it. (The field name is
ProgramID).
Thanks!
Jeff