UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

> Converting Seconds, Summing, Office 2007    
 
   
danbouton
post Apr 29 2010, 09:41 AM
Post #1

UtterAccess Enthusiast
Posts: 74
From: Indiana



I know this is another of those elementary things I am just missing.

In the detail section of my report I have a field [Duration]. Duration represents seconds.
In the report footer I have a the sum of Duration, or =Sum([Duration]).

I would like to add in the Detail section of the report an expression which will take [Duration] and convert it to hh/mm/ss.
I would like to add in the Report Footer section of the report an expression which will take my sum of [Duration] and convert it to hh/mm/ss.... keeping in mind, this may be over 24 hours.

Suggestions?
Go to the top of the page
 
+
 
Start new topic
Replies
theDBguy
post Apr 29 2010, 12:11 PM
Post #2

Access Wiki and Forums Moderator
Posts: 48,642
From: SoCal, USA



Hi All,

Sounds like fun. Here's my "lazy" take on it:

CODE
=[Duration]\3600 & ":" & ([Duration] Mod 3600)\60 & ":" & [Duration] Mod 60


Cheers (IMG:style_emoticons/default/cheers.gif)
Go to the top of the page
 
+

Posts in this topic


Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 19th June 2013 - 10:07 PM