S
steve goodrich
I have a form with six fields bound to a table.
one field is a date field and the other 5 are check boxes.
These boxes need to be checked once per month (not the same date)
I would like to be prompted with a message box if any of the check boxes
haven't been checked for a month or more
I put this code in the 'on open' event of my form which prompts me if the
last date entered is over 30 days old.
If Me.Monthly_Date <= Date - 30 Then
MsgBox "test overdue,please schedule asap", vbCritical, "Monthly Checks"
End If
How do I enter the code if I want the message to appear based on the check
box not being ticked and the date being 30 days old.
I.e. If check box 1 was ticked on 1 July then with the code I've got I
wouldn't be prompted again until 1 Aug but check boxed 2 to5 would be more
than 30 days old
Any help would be much appreciated
Steve
one field is a date field and the other 5 are check boxes.
These boxes need to be checked once per month (not the same date)
I would like to be prompted with a message box if any of the check boxes
haven't been checked for a month or more
I put this code in the 'on open' event of my form which prompts me if the
last date entered is over 30 days old.
If Me.Monthly_Date <= Date - 30 Then
MsgBox "test overdue,please schedule asap", vbCritical, "Monthly Checks"
End If
How do I enter the code if I want the message to appear based on the check
box not being ticked and the date being 30 days old.
I.e. If check box 1 was ticked on 1 July then with the code I've got I
wouldn't be prompted again until 1 Aug but check boxed 2 to5 would be more
than 30 days old
Any help would be much appreciated
Steve