G
gwplotts via AccessMonster.com
I have a series of 7 text boxes and corresponding 7 check boxes. I want to
change the properties of the text boxes when the checkbox is not checked, and
also display an alert message. This is what I'm doing now
If Task10ADueDate < Now And Task10AComplete = False Then
Task10ADueDate.BorderColor = lngRed
Task10ADueDate.ForeColor = lngYellow
Task10ADueDate.BackColor = lngRed
Task10ADueDate.FontBold = True
lblOverdue10A.Visible = True
Else
Task10ADueDate.BorderColor = lngBlack
Task10ADueDate.ForeColor = lngBlack
Task10ADueDate.BackColor = lngWhite
Task10ADueDate.FontBold = False
lblOverdue10A.Visible = False
End If
I do this for each of the text boxes. The problem is that I get either the
alert box and only one of the text boxes to change/appear, or by placing all
of the End If's at the end of the code, I get multiple text boxe property
changes, but no alert box.
Any help would be appreciated. Thanks in Advance
revgwplotts@snetDOTnet
change the properties of the text boxes when the checkbox is not checked, and
also display an alert message. This is what I'm doing now
If Task10ADueDate < Now And Task10AComplete = False Then
Task10ADueDate.BorderColor = lngRed
Task10ADueDate.ForeColor = lngYellow
Task10ADueDate.BackColor = lngRed
Task10ADueDate.FontBold = True
lblOverdue10A.Visible = True
Else
Task10ADueDate.BorderColor = lngBlack
Task10ADueDate.ForeColor = lngBlack
Task10ADueDate.BackColor = lngWhite
Task10ADueDate.FontBold = False
lblOverdue10A.Visible = False
End If
I do this for each of the text boxes. The problem is that I get either the
alert box and only one of the text boxes to change/appear, or by placing all
of the End If's at the end of the code, I get multiple text boxe property
changes, but no alert box.
Any help would be appreciated. Thanks in Advance
revgwplotts@snetDOTnet