Hello all
I'm currently running Crystal Reports XIr2 against an oracle database. My report contains two groups, Group 1=type, Group 2 = study
I have a running total in the type group that needs to sum the latest study for type.
example
Type1
studyA =1
studyA =2
studyB =4
StudyC =10
StudyC =20
I'm trying to sum StudyA=2
StudyB=4
StudyC=20
so that the number of Studies by Type1 = 26.
I've come close in capturing this using the Next function in the formula builder of the running total, however it seems to omit the last study. This Running total is placed in the GroupFooter Type
next({Study})<> {Study}
Using the above it sums correctly by checking the next study however omits the last record. I've searched for a further condition onlastrecord however this does not give me the last record in the group.
Any suggestions?
Thanks in advance
Jeff
I'm currently running Crystal Reports XIr2 against an oracle database. My report contains two groups, Group 1=type, Group 2 = study
I have a running total in the type group that needs to sum the latest study for type.
example
Type1
studyA =1
studyA =2
studyB =4
StudyC =10
StudyC =20
I'm trying to sum StudyA=2
StudyB=4
StudyC=20
so that the number of Studies by Type1 = 26.
I've come close in capturing this using the Next function in the formula builder of the running total, however it seems to omit the last study. This Running total is placed in the GroupFooter Type
next({Study})<> {Study}
Using the above it sums correctly by checking the next study however omits the last record. I've searched for a further condition onlastrecord however this does not give me the last record in the group.
Any suggestions?
Thanks in advance
Jeff