Using CR XI
I have 2 tables.
Case
CourtHearing
One case could have many court hearings. The details tab contains Case.CaseId and CourtHearing.HearingDate
To avoid seeing duplicate case ID, I have grouped the data by Case.CaseID.
In the group header I have placed Case.CaseId and Minimum(CourtHearing.HearingDate, Case.CaseID) to view the first hearing date for that case.
I want to know how many cases are allocated. To do this, I have created a formula called CountCases() which has the following structure,
if {vwCaseAllocation.CaseStatus} = ‘Allocated’ then 1 else 0
I have placed this formula in header hoping the multiple caseID in details tab will not affect the CountCase formula but it does.
If I use the Previous() function in CountCase() I could avoid the double counting but Crystal won’t perform any summary on CountCase() formula.
Does anyone have any better idea ?
Many thanks in advance.
C8
I have 2 tables.
Case
CourtHearing
One case could have many court hearings. The details tab contains Case.CaseId and CourtHearing.HearingDate
To avoid seeing duplicate case ID, I have grouped the data by Case.CaseID.
In the group header I have placed Case.CaseId and Minimum(CourtHearing.HearingDate, Case.CaseID) to view the first hearing date for that case.
I want to know how many cases are allocated. To do this, I have created a formula called CountCases() which has the following structure,
if {vwCaseAllocation.CaseStatus} = ‘Allocated’ then 1 else 0
I have placed this formula in header hoping the multiple caseID in details tab will not affect the CountCase formula but it does.
If I use the Previous() function in CountCase() I could avoid the double counting but Crystal won’t perform any summary on CountCase() formula.
Does anyone have any better idea ?
Many thanks in advance.
C8