G
Guest
I would like to know how come I got the error "Data Type Mismatch In Criteria
Expression". Both [DateEntered] And [HoliDate] are fields in Date / Time
(Short Date). I just need to compare the 2 date and produce a yes if they
are the same or no if they are not the same in the table. Please Help me.
UPDATE TimeCard, Holidays SET TimeCard.PH = Yes
WHERE (((TimeCard.PH)=IIf(("#" & [DateEntered] & "#" = "#" & [HoliDate] &
"#"),"Yes","No")));
Expression". Both [DateEntered] And [HoliDate] are fields in Date / Time
(Short Date). I just need to compare the 2 date and produce a yes if they
are the same or no if they are not the same in the table. Please Help me.
UPDATE TimeCard, Holidays SET TimeCard.PH = Yes
WHERE (((TimeCard.PH)=IIf(("#" & [DateEntered] & "#" = "#" & [HoliDate] &
"#"),"Yes","No")));