Hourly weekly work hours

R

Rudy

I now have a query that sums my work hours by the week.
Great. I also would like a field that displays my
overtime hours only when my work hours are greater than
37.5 Hrs/wk. ie workhrs>37.5 = some positive number.
When it is less than 37.5 return 0.
 
A

Allen Browne

Type something like this into the Field row of your query:

OTHours: IIf([Hours] > 37.5, 0, [Hours] - 37.5)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top