PC Review


Reply
Thread Tools Rate Thread

Calculate a total for "Time"

 
 
JamesC
Guest
Posts: n/a
 
      12th Nov 2008
Help please!

I'm creating a music catalogue in Access but have hit a problem when trying
to calculate the total playing time of all the music tracks entered.

My basic fields are 'TrackTitle', 'Artist', 'Album' and 'TrackDuration'. The
last field is entered in time as hh:nn:ss. In the Report Header, I have an
unbound cell with a control source entry of =Sum([TrackDuration]) and the
format for this is also hh:nn:ss.

And the problem: the total playing duration of the tracks I've entered so
far is actually 24h:34m:05s BUT Access is only showing 00h:34m:05s. What's
happened to the hours?

In an alternative approach, I entered the time as a Number (to five decimal
places) but the final result is no different.

Would appreciate any help available.
 
Reply With Quote
 
 
 
 
Wayne-I-M
Guest
Posts: n/a
 
      12th Nov 2008
Hi James

Try using the GetTimeCardTotal() shown here
http://support.microsoft.com/kb/210604



--
Wayne
Manchester, England.



"JamesC" wrote:

> Help please!
>
> I'm creating a music catalogue in Access but have hit a problem when trying
> to calculate the total playing time of all the music tracks entered.
>
> My basic fields are 'TrackTitle', 'Artist', 'Album' and 'TrackDuration'. The
> last field is entered in time as hh:nn:ss. In the Report Header, I have an
> unbound cell with a control source entry of =Sum([TrackDuration]) and the
> format for this is also hh:nn:ss.
>
> And the problem: the total playing duration of the tracks I've entered so
> far is actually 24h:34m:05s BUT Access is only showing 00h:34m:05s. What's
> happened to the hours?
>
> In an alternative approach, I entered the time as a Number (to five decimal
> places) but the final result is no different.
>
> Would appreciate any help available.

 
Reply With Quote
 
JamesC
Guest
Posts: n/a
 
      12th Nov 2008

Wayne ...

Many thanks for the very fast feedback. Will give your suggestion a try and
let you know the outcome.

JamesC



"Wayne-I-M" wrote:

> Hi James
>
> Try using the GetTimeCardTotal() shown here
> http://support.microsoft.com/kb/210604
>
>
>
> --
> Wayne
> Manchester, England.
>
>
>
> "JamesC" wrote:
>
> > Help please!
> >
> > I'm creating a music catalogue in Access but have hit a problem when trying
> > to calculate the total playing time of all the music tracks entered.
> >
> > My basic fields are 'TrackTitle', 'Artist', 'Album' and 'TrackDuration'. The
> > last field is entered in time as hh:nn:ss. In the Report Header, I have an
> > unbound cell with a control source entry of =Sum([TrackDuration]) and the
> > format for this is also hh:nn:ss.
> >
> > And the problem: the total playing duration of the tracks I've entered so
> > far is actually 24h:34m:05s BUT Access is only showing 00h:34m:05s. What's
> > happened to the hours?
> >
> > In an alternative approach, I entered the time as a Number (to five decimal
> > places) but the final result is no different.
> >
> > Would appreciate any help available.

 
Reply With Quote
 
JamesC
Guest
Posts: n/a
 
      12th Nov 2008
Wayne ...

Hello again; your recommendation worked perfectly.

Many thanks once more.

JamesC

"Wayne-I-M" wrote:

> Hi James
>
> Try using the GetTimeCardTotal() shown here
> http://support.microsoft.com/kb/210604
>
>
>
> --
> Wayne
> Manchester, England.
>
>
>
> "JamesC" wrote:
>
> > Help please!
> >
> > I'm creating a music catalogue in Access but have hit a problem when trying
> > to calculate the total playing time of all the music tracks entered.
> >
> > My basic fields are 'TrackTitle', 'Artist', 'Album' and 'TrackDuration'. The
> > last field is entered in time as hh:nn:ss. In the Report Header, I have an
> > unbound cell with a control source entry of =Sum([TrackDuration]) and the
> > format for this is also hh:nn:ss.
> >
> > And the problem: the total playing duration of the tracks I've entered so
> > far is actually 24h:34m:05s BUT Access is only showing 00h:34m:05s. What's
> > happened to the hours?
> >
> > In an alternative approach, I entered the time as a Number (to five decimal
> > places) but the final result is no different.
> >
> > Would appreciate any help available.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculate "yes", "no" check boxes to reveal a total? StLDawn Microsoft Word Document Management 1 7th Dec 2007 10:27 AM
How do I calculate "cummulative percent of total" in a pivot table =?Utf-8?B?U3RldmUgUA==?= Microsoft Excel Misc 0 25th Sep 2007 02:06 PM
How to calculate "Items Total" on Order Form? Will Microsoft Access 3 20th Jan 2006 07:34 PM
Linking two "total" pages to create a "Complete Total" page =?Utf-8?B?Sm9yZG9u?= Microsoft Excel Worksheet Functions 0 10th Jan 2006 11:18 PM
Search "Total" in all worksheets and delete rows containing "Total" mk_garg20 Microsoft Excel Programming 2 30th Jul 2004 06:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:42 PM.