Sum in a Report Based on Query (1 Viewer)

DeanFran

Registered User.
Local time
Today, 10:53
Joined
Jan 10, 2014
Messages
111
I'm trying to build a report that lists a set of events. The events have a start and stop date/time value. I perform the math to calculate the duration of the event. I am trying to sum the column of durations, and am having trouble understanding what to do. See attached. What am I not grasping?
 

Attachments

  • PrintPreview.PNG
    PrintPreview.PNG
    8.8 KB · Views: 76
  • DesignView.png
    DesignView.png
    21.4 KB · Views: 86

Ranman256

Well-known member
Local time
Today, 10:53
Joined
Apr 9, 2015
Messages
4,339
Make a group footer. (Either make a Label in the query or use the report footer)
Add the duration field again in the footer,
Alter the source to: =Sum(Duration)
 

DeanFran

Registered User.
Local time
Today, 10:53
Joined
Jan 10, 2014
Messages
111
Thank you Ranman for replying, but I'm afraid you've lost me.
 

Ranman256

Well-known member
Local time
Today, 10:53
Joined
Apr 9, 2015
Messages
4,339
in the report, click GROUP & SORT button
in the grouping window (bottom)
add REPORT FOOTER
add the field
set the field to =SUM

(maybe get a book on Access basics)
 

Users who are viewing this thread

Top Bottom