My SignInForm has the following event code to change the color of the ExpirationDate field if the record's expiration date is passed. I'd like the whole form color to change instead of just the one field.
' Display Expiration date field in Red if Expired
'----------------------------------------------
If Me.ExpirationDate.Value <= Date Then
Me.ExpirationDate.BackColor = 255
Beep
Else
Me.ExpirationDate.BackColor = 16777215
End If
Thanks for your help!
' Display Expiration date field in Red if Expired
'----------------------------------------------
If Me.ExpirationDate.Value <= Date Then
Me.ExpirationDate.BackColor = 255
Beep
Else
Me.ExpirationDate.BackColor = 16777215
End If
Thanks for your help!