P
PamB
Access 2007 - I have a report that calculates downtime based on a combination
of Date&Time Up minus Date&Time Down:
=(DateDiff("n",[DateDown] & " " & [TimeDown],[DateUp] & " " & [TimeUp]))\60
& ":" & Format((DateDiff("n",[DateDown] & " " & [TimeDown],[DateUp] & " " &
[TimeUp])) Mod 60,"00")
(Thankyou to the gurus on this discussion board who haved helped other
people with this!)
The report is currently grouped according to Downtime Code and calculates
totals for each group. I have the following in the footer of each group:
=Sum(DateDiff("n",[DateDown] & " " & [TimeDown],[DateUp] & " " &
[TimeUp]))\60 & ":" & Format(Sum(DateDiff("n",[DateDown] & " " &
[TimeDown],[DateUp] & " " & [TimeUp])) Mod 60,"00")
which is working nicely.
I now want to calculate the percentage of downtime for each group against
the total downtime for the period selected (via a parameter form).
I have tried various options but have managed to get exactly nowhere with
them.
Am I asking too much to calculate percentages on time values? Any help would
be greatly appreciated. Thank you in advance!
of Date&Time Up minus Date&Time Down:
=(DateDiff("n",[DateDown] & " " & [TimeDown],[DateUp] & " " & [TimeUp]))\60
& ":" & Format((DateDiff("n",[DateDown] & " " & [TimeDown],[DateUp] & " " &
[TimeUp])) Mod 60,"00")
(Thankyou to the gurus on this discussion board who haved helped other
people with this!)
The report is currently grouped according to Downtime Code and calculates
totals for each group. I have the following in the footer of each group:
=Sum(DateDiff("n",[DateDown] & " " & [TimeDown],[DateUp] & " " &
[TimeUp]))\60 & ":" & Format(Sum(DateDiff("n",[DateDown] & " " &
[TimeDown],[DateUp] & " " & [TimeUp])) Mod 60,"00")
which is working nicely.
I now want to calculate the percentage of downtime for each group against
the total downtime for the period selected (via a parameter form).
I have tried various options but have managed to get exactly nowhere with
them.
Am I asking too much to calculate percentages on time values? Any help would
be greatly appreciated. Thank you in advance!