Earlier in month I posted the following: I have a "to do" task list which includes a DueDate for completion of the task. I want to design the form so that when it's opened any past due tasks (Task) are emphasized by red fonts.
Jerry Stoner posted in response: In the forms current event:
If Me.YourControlName < Date() Then
Me.YourControlName.ForeColor = 255
End If
I inserted in the form current event:
If Me.DueDate <Date() Then
Me.Task.ForeColor = 255
End If
What's happening is that all of the tasks turn red, even when the DueDate is greater than the current date.
My formats all seem in order. I'm stumped.
Any ideas would be appreciated. Thanks.
Jerry Stoner posted in response: In the forms current event:
If Me.YourControlName < Date() Then
Me.YourControlName.ForeColor = 255
End If
I inserted in the form current event:
If Me.DueDate <Date() Then
Me.Task.ForeColor = 255
End If
What's happening is that all of the tasks turn red, even when the DueDate is greater than the current date.
My formats all seem in order. I'm stumped.
Any ideas would be appreciated. Thanks.