M
Mary A Perez
The following code I placed in the "after update" event, but it's not doing
what I want it to do. Basically, I want those fields that do not have data
typed in them to turn the color of the form which is light green, & if data
is entered the field to be a white backcolor.
Thanks for your help.
Private Sub TermDate_AfterUpdate()
If IsNull(Me.TermDate) Or Me.TermDate = "" Then
Me.[TermDate].BackColor = 13434828 ' change to light green
Else
Me.[TermDate].BackColor = 16777215 ' change to white
End If
End Sub
what I want it to do. Basically, I want those fields that do not have data
typed in them to turn the color of the form which is light green, & if data
is entered the field to be a white backcolor.
Thanks for your help.
Private Sub TermDate_AfterUpdate()
If IsNull(Me.TermDate) Or Me.TermDate = "" Then
Me.[TermDate].BackColor = 13434828 ' change to light green
Else
Me.[TermDate].BackColor = 16777215 ' change to white
End If
End Sub