I'm new here, so go easy on me (yes, some of the formulas are a bit bulky, still learning)
I found a thread on here that helped me get an alternate way of accumulating a running total since the actual RT would not accept my formulas as a way to summarize. What I'm having a problem with now is the first instance provides me no data (my numbering scheme is a bit weird, hope you can follow it )
Group Header2:
-{@adherence}
--whileprintingrecords;
--numbervar adherence;
--adherence:=0
Details:
-{@adherence1}
--whileprintingrecords;
--numbervar adherence;
--adherence:=adherence + {@adherence3} + {@adherence4} + {@adherence5}
{@adherence3} through {@adherence5} are conditional time differences returning a number.
Group Footer2:
-{@adherence2}
--if {@Scheduled Work}=time(0,0,0) then 100
--else if {@Deviation}>{@HoursSum} then 0
--else ((((hour({@HoursSum})*60*60) + (minute ({@HoursSum})*60) + (second({@HoursSum})))-((hour({@Deviation})*60*60) + (minute ({@Deviation})*60) + (second({@Deviation}))))/
((hour({@HoursSum})*60*60) + (minute ({@HoursSum})*60) + (second({@HoursSum}))))*100
The problem I have is not the fact that it doesn't summarize, that part works almost flawlessly. The problem that is arising is the fact that the absolute first entry on the report returns no data. I've tried using previousisnull for a login reference, I've tried using previous ({login})<>{login} as well, no dice. It simply will not summarize that number. An example of how it should look:
16:00:00 (Scheudled Sign In)
14:59:00 (Actual Sign In)
18:44:00 (Sign Out Break)
61.00 (Difference between Schedule Sign In and Actual Sign In, returns Absolute value)
19:00:00 (Return Break)
1.00 (Difference between Log Out and Log In minus 15 minutes for scheduled Break Length)
Running Total 62.00
What It actually shows:
16:00:00 (Scheudled Sign In)
14:59:00 (Actual Sign In)
18:44:00 (Sign Out Break)
(Difference between Schedule Sign In and Actual Sign In, returns Absolute value)
19:00:00 (Return Break)
1.00 (Difference between Log Out and Log In minus 15 minutes for scheduled Break Length)
Running Total 1.00
The running total doesn't keep that 1st number for the 1st login for the 1st rep only. Any ideas as to how to fix this?
Yes, it's scatterbrained, this is my first "major" report I'm building, I just happened to pick something that was really far out of my league to start with.
Thanks!
I found a thread on here that helped me get an alternate way of accumulating a running total since the actual RT would not accept my formulas as a way to summarize. What I'm having a problem with now is the first instance provides me no data (my numbering scheme is a bit weird, hope you can follow it )
Group Header2:
-{@adherence}
--whileprintingrecords;
--numbervar adherence;
--adherence:=0
Details:
-{@adherence1}
--whileprintingrecords;
--numbervar adherence;
--adherence:=adherence + {@adherence3} + {@adherence4} + {@adherence5}
{@adherence3} through {@adherence5} are conditional time differences returning a number.
Group Footer2:
-{@adherence2}
--if {@Scheduled Work}=time(0,0,0) then 100
--else if {@Deviation}>{@HoursSum} then 0
--else ((((hour({@HoursSum})*60*60) + (minute ({@HoursSum})*60) + (second({@HoursSum})))-((hour({@Deviation})*60*60) + (minute ({@Deviation})*60) + (second({@Deviation}))))/
((hour({@HoursSum})*60*60) + (minute ({@HoursSum})*60) + (second({@HoursSum}))))*100
The problem I have is not the fact that it doesn't summarize, that part works almost flawlessly. The problem that is arising is the fact that the absolute first entry on the report returns no data. I've tried using previousisnull for a login reference, I've tried using previous ({login})<>{login} as well, no dice. It simply will not summarize that number. An example of how it should look:
16:00:00 (Scheudled Sign In)
14:59:00 (Actual Sign In)
18:44:00 (Sign Out Break)
61.00 (Difference between Schedule Sign In and Actual Sign In, returns Absolute value)
19:00:00 (Return Break)
1.00 (Difference between Log Out and Log In minus 15 minutes for scheduled Break Length)
Running Total 62.00
What It actually shows:
16:00:00 (Scheudled Sign In)
14:59:00 (Actual Sign In)
18:44:00 (Sign Out Break)
(Difference between Schedule Sign In and Actual Sign In, returns Absolute value)
19:00:00 (Return Break)
1.00 (Difference between Log Out and Log In minus 15 minutes for scheduled Break Length)
Running Total 1.00
The running total doesn't keep that 1st number for the 1st login for the 1st rep only. Any ideas as to how to fix this?
Yes, it's scatterbrained, this is my first "major" report I'm building, I just happened to pick something that was really far out of my league to start with.
Thanks!