A
AccessIM
I have created a database that tracks the time an employee spends in
different job codes throughout the day. I have a query that looks at the
fields of StartDate, StartTime, EndDate and EndTime and calculates the number
of hours in each job code as well as total hours work each day.
The problem I'm having is this: I need to remove 30 minutes for lunch from
each employee that has over 6 total hours. I tried doing this with an "IIf"
statement but receive messages that the syntax is wrong. I would appreciate
any feedback on how to remove this 30 minutes. Thank you!
different job codes throughout the day. I have a query that looks at the
fields of StartDate, StartTime, EndDate and EndTime and calculates the number
of hours in each job code as well as total hours work each day.
The problem I'm having is this: I need to remove 30 minutes for lunch from
each employee that has over 6 total hours. I tried doing this with an "IIf"
statement but receive messages that the syntax is wrong. I would appreciate
any feedback on how to remove this 30 minutes. Thank you!