Converting total minutes to hours in a report footer

  • Thread starter Lee B via AccessMonster.com
  • Start date
L

Lee B via AccessMonster.com

I have the following expression in a text box in the report footer:
=Nz(Sum([Minutes]),0)+Nz(Sum([TimeWorkedS]),0). It works well providing
totals for my subgroups in the report and gives me the grand total in the
report footer.

I need to see the total minutes as hours and minutes.
Any help would be greatly appreciated.
Thanks
Lee
 
A

Allen Browne

If thest text box is named Text0, add another text box with Control Source
of:
=[Text0] \ 60 & Format([Text0] Mod 60, "\:00")
 
L

Lee B via AccessMonster.com

Thank you Allen.. that did the trick!!
Lee


Allen said:
If thest text box is named Text0, add another text box with Control Source
of:
=[Text0] \ 60 & Format([Text0] Mod 60, "\:00")
I have the following expression in a text box in the report footer:
=Nz(Sum([Minutes]),0)+Nz(Sum([TimeWorkedS]),0). It works well providing
[quoted text clipped - 5 lines]
Thanks
Lee
 

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

Top