Sum Elapsed time

R

Riley

User enters start and stop times in medium time format- stored in a table.
I want to calculate the elapsed time, which isn't too hard, but then I want
to sum the elapsed time and use that number to perform other calcs but am
stumped- help?
 
J

Jeff Boyce

Riley

"How" will depend on your definitions...

By "elapsed time", do you mean the difference between StartTime and
StopTime? What happens if the StartTime is late on one day and the EndTime
is early on the next?

What are you storing in those two fields? Not "how", as in "medium time
format", but what? Are the fields actually date/time data type fields?

If you create one query that derives the elapsed time (difference between
StartTime and StopTime), you can build a second query, based on the first,
that totals the elapsed times (from the first).

Good luck!

Regards

Jeff Boyce
Microsoft Office/Access MVP
 

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