The WeedDay function has begun to malfunction (Acc XP on Novell client for Win 2k). It is now producing a "Type mismatch" error despite having worked previously. When I use the IsDate function to confirm that the date argument is indeed a date, it returns True, e.g.:
MsgBox IsDate([Form_TheForm].CalendarDate) 'returns "True"
If IsDate([Form_TheForm].CalendarDate) Then
MsgBox WeekDay([Form_TheForm].CalendarDate, 1)
End If
My references are unchanged and have been in use for a long time. I've also tried appending "#'s" around the date with ampersands, using both a variant and date variable for the date, the "Me." prefix, and nesting the WeekDay within WeekDayName. This should not be occurring. Any ideas? Thanks.
MsgBox IsDate([Form_TheForm].CalendarDate) 'returns "True"
If IsDate([Form_TheForm].CalendarDate) Then
MsgBox WeekDay([Form_TheForm].CalendarDate, 1)
End If
My references are unchanged and have been in use for a long time. I've also tried appending "#'s" around the date with ampersands, using both a variant and date variable for the date, the "Me." prefix, and nesting the WeekDay within WeekDayName. This should not be occurring. Any ideas? Thanks.