F
Flopbot
Hi,
I have an Access 03 query based on “Tbl Vol Hours Trackingâ€. In my query,
one of the fields uses the following to calculate the total number of hours
worked using three columns in the table. It works perfectly.
Total: (Sum((DateDiff("n",[Start Time],[End Time])/60)*[Number of People]))
However, the table also has a field called [Other Hours] logging hours from
a completely different source. I want to add these two types of hours
together for my query’s total. I’ve tried the following but it doesn’t work.
Total: (Sum((DateDiff("n",[Start Time],[End Time])/60)*[Number of
People]))+([Other Hours])
Does anyone have any idea of what my next step should be? I’m stuck.
Thank you.
I have an Access 03 query based on “Tbl Vol Hours Trackingâ€. In my query,
one of the fields uses the following to calculate the total number of hours
worked using three columns in the table. It works perfectly.
Total: (Sum((DateDiff("n",[Start Time],[End Time])/60)*[Number of People]))
However, the table also has a field called [Other Hours] logging hours from
a completely different source. I want to add these two types of hours
together for my query’s total. I’ve tried the following but it doesn’t work.
Total: (Sum((DateDiff("n",[Start Time],[End Time])/60)*[Number of
People]))+([Other Hours])
Does anyone have any idea of what my next step should be? I’m stuck.
Thank you.