Adam McReynolds
Registered User.
- Local time
- Today, 12:50
- Joined
- Aug 6, 2012
- Messages
- 129
When I put my code into the afterupdate event of my text box it does not run. If I put it into the onclick event of a button it will run. Is the a parameter specific to the back color? Here is my code:
Code:
If Me.txt_incoming1 = "Completed" Then
Me.txt_incoming1.BackColor = vbGreen
Me.Refresh
End If
If Me.txt_incoming1 = "Warranty" Then
Me.txt_incoming1.BackColor = vbRed
Me.Refresh
End If
If Me.txt_incoming1 = "BER" Then
Me.txt_incoming1.BackColor = vbYellow
Me.Refresh
End If