J
John
Hi
I have a sub form in as a continuous form. I am trying to set the colour of
a field based on value in another field like;
Private Sub Form_Current()
If IsNull(Me.FldOne) Then
Me.FldTwo.ForeColor = 0
Else
Me.FldTwo.ForeColor = 32768
End If
End Sub
The problem is that the colour of FldTwo is changed in all the records to
the value of FldOne in the record which currently ahs focus. How can I get
the colour of FldTwo based on value of FladOne in only its own record?
Thanks
Regards
I have a sub form in as a continuous form. I am trying to set the colour of
a field based on value in another field like;
Private Sub Form_Current()
If IsNull(Me.FldOne) Then
Me.FldTwo.ForeColor = 0
Else
Me.FldTwo.ForeColor = 32768
End If
End Sub
The problem is that the colour of FldTwo is changed in all the records to
the value of FldOne in the record which currently ahs focus. How can I get
the colour of FldTwo based on value of FladOne in only its own record?
Thanks
Regards