Zeroanarchy
Technical User
Have a prob with a bit of code the idea is that if the field value is greater than one then change the back color to red else stay the same. Here is the code appreatiate any help on this one. The problem all [2] is changing to Red not matter what the value
Private Sub Form_Open(Cancel As Integer)
If [2] >= 1 Then
Me![2].BackColor = RGB(255, 0, 0)
End If
End Sub
Private Sub Form_Open(Cancel As Integer)
If [2] >= 1 Then
Me![2].BackColor = RGB(255, 0, 0)
End If
End Sub