entering time intervals into a database ex: recorded race times

B

BKS

Can I format a field to only time interval so that I can use functions such
as average and sum to calculate average and total times.
 
J

Jeff Boyce

Access Date/Time data type stores 'point-in-time' data, not duration.

Formatting the display of a field does nothing to change the underlying
value stored in the field.

If you want to do arithmetic on time intervals (i.e., duration), you'll need
to store numbers, not date/times. You can average a stored # of minutes
(seconds, hundredths, whatever), then format THAT for display however you
need to.

Check Google.com and the mvps.org/access website for examples of time
parsing routines.

Good luck

Jeff Boyce
<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