I'm simply trying to Sum the difference between two smalldatetime fields with a format of medium time. This is a calculated field on the form, NOT in the query. I'm getting an #Error on this one.
In a view, I'm able to do this and it works:
How can I get this to work on the form?
Code:
=Sum(DateDiff("h",[Time_In],[Time_Out]))
In a view, I'm able to do this and it works:
Code:
Sum(DateDiff(hour,[Time_In],[Time_Out]))
How can I get this to work on the form?