T
twalsh
I have a macro running with a condition to check a date field "AfterUpdate".
the point is to see if a date entered is invalid. In this case an invalid
date is anything before last sunday, or sometime in the future or "within
this week"
I have
[Forms]![frmNewClockIssue]![Date]>Date()
checking to see if the date is in the future
and
DateValue([Forms]![frmNewClockIssue]![Week])<>DateValue([Forms]![frmNewClockIssue]![Date])+(7-Weekday([Forms]![frmNewClockIssue]![Date]))
checking to see if the date is before the previous sunday.
it wont run, or at least wont display the appropriate msgbox if i try to
trigger it. any thoughts?
the point is to see if a date entered is invalid. In this case an invalid
date is anything before last sunday, or sometime in the future or "within
this week"
I have
[Forms]![frmNewClockIssue]![Date]>Date()
checking to see if the date is in the future
and
DateValue([Forms]![frmNewClockIssue]![Week])<>DateValue([Forms]![frmNewClockIssue]![Date])+(7-Weekday([Forms]![frmNewClockIssue]![Date]))
checking to see if the date is before the previous sunday.
it wont run, or at least wont display the appropriate msgbox if i try to
trigger it. any thoughts?