Hi Folks, I’m using Access 2007, I’m trying to change the colour of a field [Other] in a form to red if the field contains the following string ”Yes”
I’m using the following code but it’s not working any help would be much appreciated.
Private Sub Other_AfterUpdate()
If Me.Other = "Yes" Then
Other.BackColor = vbRed
Else
Other.BackColor = vbWhite
End If
End Sub
I’m using the following code but it’s not working any help would be much appreciated.
Private Sub Other_AfterUpdate()
If Me.Other = "Yes" Then
Other.BackColor = vbRed
Else
Other.BackColor = vbWhite
End If
End Sub