please help, time sensitive

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

Guest

I have a table that has a start time, end time, and call length. Whats the
best way to have access fill in the [call length] feild with the elapsed
time? The time will NEVER start on one day and end on another. Longest all i
have ever sense is about an hour.
 
Jeremy Corson said:
I have a table that has a start time, end time, and call length. Whats the
best way to have access fill in the [call length] feild with the elapsed
time? The time will NEVER start on one day and end on another. Longest all i
have ever sense is about an hour.

The "best" way? Remove call length from the table and calculate it on the fly
on your forms, reports, or in queries. Derived values should NOT be saved.

Use DateDiff() to calculate the difference in seconds and then do some math to
get minutes and seconds.
 

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