Totaling In a Report

Jkittle

Registered User.
Local time
Today, 09:21
Joined
Sep 25, 2007
Messages
100
I'm having a problem getting a total in a report. I have a "Start Time" and an "End Time" field that I used a date diff formula "=DateDiff("h",[Start time],[End time])" in an unbound text box to calculate the elapsed time. This works fine for the individual time difference.

How do I get a total now?
 
Just use =Sum(elapsedTime) in your section footer
 
I've tried that is does not work.

Is it because it an unbound text box
 
I'm having a problem getting a total in a report. I have a "Start Time" and an "End Time" field that I used a date diff formula "=DateDiff("h",[Start time],[End time])" in an unbound text box to calculate the elapsed time. This works fine for the individual time difference.

How do I get a total now?

What needs to be done is that value you get each time needs to be stored. With an unbound text box, it's not happening. Use that formula in a query, like this.

HrsElapsed: DateDiff("h", [Start Time], [End Time])

Then, the HrsElapsed field can be used in a Sum function.
 
"They don't know that we know they know we know!"----Phoebe Buffay, "Friends"
"We know that the Russians know this, but we pretend that we don't know and the Russians pretend that they know that we don't know, but know that we know. Everybody knows."----Dane, "Under Siege 2"
 
"We know that the Russians know this, but we pretend that we don't know and the Russians pretend that they know that we don't know, but know that we know. Everybody knows."----Dane, "Under Siege 2"

Oops, no out-quoting me. :eek:

"We know this. The Chinese know that we know. But we make-believe that we don't know and the Chinese make-believe that they believe that we don't know, but know that we know. Everybody knows."

Sorry for the tangent on this board, folks. I just like getting quotes right. :D
 
Oops, no out-quoting me. :eek:

"We know this. The Chinese know that we know. But we make-believe that we don't know and the Chinese make-believe that they believe that we don't know, but know that we know. Everybody knows."

Sorry for the tangent on this board, folks. I just like getting quotes right. :D
Chinese...Russians...whatever. :)
 
themurph2000,

Thanks for the help, it worked fine.
 

Users who are viewing this thread

Back
Top Bottom