Sprint times

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I set up a field to store split times for a sprint? I am using the
database to hold times from a track meet and want to hold seconds and part of
seconds. eg 10.25 sec for the 100 yard dash. Anyone have an idea how I
could do this?

-
Thanks As Always
Rip
 
You could go to table design view and choose Number as the field's data
type, then set decimal places to 2.
 
Thanks Bruce. You know how you can get stuck on something. I NEED TIME IN
THAT BOX and not think of time as a number.

Thanks for the newsgroup slap in the face today!
 
How do I set up a field to store split times for a sprint? I am using the
database to hold times from a track meet and want to hold seconds and part of
seconds. eg 10.25 sec for the 100 yard dash. Anyone have an idea how I
could do this?

-
Thanks As Always
Rip

Access Date/Time fields are not suitable for this purpose. They're
limited to one second accuracy, and there's no way around this limit;
and they're best suited for storing dates and points in time, not
durations.

You will need to store the data in a Single or Double Float number.
You can *display* that number as nn:ss.ss using an expression like

[Sprinttime] \ 60 & ":" & Format([Sprinttime] - 60 * ([Sprinttime] \
60), "00")

The \ isn't a typo, it's the integer divide operator.

I don't think Bruce intended a slap in the face; his advice was
essentially correct, if a bit too concise!

John W. Vinson[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

Back
Top