I have an event on the main form. I would like the AccountID (field #2) background / fore colors to change whenever i click on the CheckActive (field #1) name field. Presently, this all works fine if i go to the next record and return back.
I would like to see the AccountID field colors to immediately change when i click on the yes/no field named CheckActive. Can do? Thanks Molly
----------------------------------------------
Private Sub Form_Current()
If CheckActive = True Then
AccountID.BackColor = 16777215 'white
AccountID.ForeColor = 16711680 'blue
Else
AccountID.BackColor = 255 'Red
AccountID.ForeColor = 16777215 'white
End If
End Sub
------------------------------------------
I would like to see the AccountID field colors to immediately change when i click on the yes/no field named CheckActive. Can do? Thanks Molly
----------------------------------------------
Private Sub Form_Current()
If CheckActive = True Then
AccountID.BackColor = 16777215 'white
AccountID.ForeColor = 16711680 'blue
Else
AccountID.BackColor = 255 'Red
AccountID.ForeColor = 16777215 'white
End If
End Sub
------------------------------------------