Sum time calculation in section footer of report

D

DocBrown

I have a report based on the following stripped down query.

SELECT Volunteers.VolunteerID, Volunteers.FirstName, Volunteers.SchoolName,
Int(CSng(nz(Sum([timeout]-[timein]),0)*24)) & ":" &
Format(Int(CSng(nz(Sum([timeout]-[timein]),0)*1440)) Mod 60,"00") AS
TotalHrs
FROM Volunteers LEFT JOIN VolunteerLog ON Volunteers.VolunteerID =
VolunteerLog.VolunteerID
GROUP BY Volunteers.VolunteerID, Volunteers.FirstName, Volunteers.SchoolName;

The report is grouped on SchoolName. The TotalHrs field is calculated from
the time logging [timeout] and [timein] fields in the VolunteerLog table. The
TotalHrs field is placed in the detail section of the report.

I would like to put a Sum total field in the section footer of the report.
How can I construct a calculation to do this?

Thanks,
John
 

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