Hi all.
I already tried most suggestions regarding coloring a textfield on a report if a certain condition is met. I`ll give a sample of the code that i am currently using. the field in question is in a subform on the form. I placed this code on the form's on open event.
If Me.PH = "2" Then
Me.PHtext.BackColor = vbRed
End If
This is just a single part. If the value of PH is 2, then the backgroundcolor of the PHtext field turns to red. I cant see a reason why it isnt working..I pretty much tried everything but i dont get it.
Thanks in advance!
I already tried most suggestions regarding coloring a textfield on a report if a certain condition is met. I`ll give a sample of the code that i am currently using. the field in question is in a subform on the form. I placed this code on the form's on open event.
If Me.PH = "2" Then
Me.PHtext.BackColor = vbRed
End If
This is just a single part. If the value of PH is 2, then the backgroundcolor of the PHtext field turns to red. I cant see a reason why it isnt working..I pretty much tried everything but i dont get it.
Thanks in advance!