Changing the font of a field in a form based on another form

miacino

Registered User.
Local time
Today, 10:14
Joined
Jun 5, 2007
Messages
106
If my form field [urgency] is "time critical", AND my calculated Text53 field calculates >24, I would like to turn the font red.

How off am I? :rolleyes:


Private Sub Text53_AfterUpdate()
If Me.Urgency = "Time Critical (<24h)" And Me.Text53 > 24 Then
Me.Text53.ForeColor = vbRed
End If
End Sub
 

Users who are viewing this thread

Back
Top Bottom