I have a calculation (formula) in the details section, whose output looks like the following:
@count
--------------
0
0
1
2
2
1
What I would like to do is perform a calculation such that if there is a first occurence of '2' then perform a calculation, else if it is a second occurrence of '2' then perform another calculation.
How do I determine the first occurrence of a number which is displayed in the details?
I considered using grouping on this calculation, but Crystal isn't allowing me to perform grouping on a calculation (due to Multipass concept: since Grouping occurs in first pass and formula in second)
Thank you
@count
--------------
0
0
1
2
2
1
What I would like to do is perform a calculation such that if there is a first occurence of '2' then perform a calculation, else if it is a second occurrence of '2' then perform another calculation.
How do I determine the first occurrence of a number which is displayed in the details?
I considered using grouping on this calculation, but Crystal isn't allowing me to perform grouping on a calculation (due to Multipass concept: since Grouping occurs in first pass and formula in second)
Thank you