Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
XML
A date-time is required here. Details: errorKind Error in File PayDetailGoatacre {F896190B-BA61-4ABB-B040-C7A514407493}.rpt: Error in formula Font_Color: 'if not isNull({Command.DUTY_START}) and {Command.DUTY_START} <> 4 then 0 else DefaultAttribute;' A date-time is required here. Details: errorKind

this error occured.
Posted
Comments
Kschuler 2-Jan-15 15:24pm    
Looks like it's expecting a date-time object but is getting something else instead. Perhaps break up the If Statement. It might be doing the ISNULL check and then also doing the <> 4 check and erroring out because it can't compare null to 4? Otherwise, what data type is Command.Duty-Start? And what is DefaultAttribute? Are they compatible data types?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900