This query expression produces the error "Data Type Mismatch in Query Expression".
FirstDayofWeek: CDate(IIf(IsNull([ShipDate]),"NoShipDate",[ShipDate]-Format([ShipDate],"w",2)))
It appears that it doesn't like the CDate function, which is trying to convert this text to date format.
How can I fix this? Thanks.
--
Mike
Why make it simple and efficient when it can be complex and wonderful?
FirstDayofWeek: CDate(IIf(IsNull([ShipDate]),"NoShipDate",[ShipDate]-Format([ShipDate],"w",2)))
It appears that it doesn't like the CDate function, which is trying to convert this text to date format.
How can I fix this? Thanks.
--
Mike
Why make it simple and efficient when it can be complex and wonderful?