Hi all. I am using CR 10, SQL Server 2008.
I am not sure how to put the title for this thread. I am asked to create a report with below scenario:
Data in table:
Section Type Seq Status
6000 H 1 S
6001 H 1 S
6001 H 2 S
6001 H 3 S
The Seq can goes up to maybe 50 having same Section and Type.
Result:
Section Type 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
6000 H 1-S
6001 H 1-S 2-S 3-S
“1-S” is the combination of Seq + ‘-‘ + Status. The maximum numbering for a line is 15. If the Section having > 15 records, it will go to next line where it should look like below:
Section Type 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
6000 H 1-S
6001 H 1-S 2-S 3-S 4-S 5-S 6-S 7-S 8-S 9-S 10-S 11-S 12-S 13-S 14-S 15-S
16-S 17-S
I am thinking of insert a grouping by Section (GH1) and by Type (GH2). Create formula for each Seq + Status (but this will be result in a lot of formula if the record reach 100) and insert a Summary (Maximum) for each of the formula. Also, create few GH2 and placed the summary at Type group. I know this looks silly to do but I can’t think of a better way (forgive for my stupidity coz I'm still new to CR). I’m sure there is a much better solution than mine.
Hope to get advice from here. Thanks in advanced.
I am not sure how to put the title for this thread. I am asked to create a report with below scenario:
Data in table:
Section Type Seq Status
6000 H 1 S
6001 H 1 S
6001 H 2 S
6001 H 3 S
The Seq can goes up to maybe 50 having same Section and Type.
Result:
Section Type 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
6000 H 1-S
6001 H 1-S 2-S 3-S
“1-S” is the combination of Seq + ‘-‘ + Status. The maximum numbering for a line is 15. If the Section having > 15 records, it will go to next line where it should look like below:
Section Type 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
6000 H 1-S
6001 H 1-S 2-S 3-S 4-S 5-S 6-S 7-S 8-S 9-S 10-S 11-S 12-S 13-S 14-S 15-S
16-S 17-S
I am thinking of insert a grouping by Section (GH1) and by Type (GH2). Create formula for each Seq + Status (but this will be result in a lot of formula if the record reach 100) and insert a Summary (Maximum) for each of the formula. Also, create few GH2 and placed the summary at Type group. I know this looks silly to do but I can’t think of a better way (forgive for my stupidity coz I'm still new to CR). I’m sure there is a much better solution than mine.
Hope to get advice from here. Thanks in advanced.