简体   繁体   中英

Custom Group in Crystal Report

Hi i need to prepare a report in Crystal report and i need your help as i am
new in crystal report.

scenario is below.

i have a SqlServer view like this:

ID: Time Slot: Duration:
1 09:00-09:30 30
2 09:30-10:00 30
3 10:00-10:30 30
4 10:30-11:00 30
5 10:30-11:00 30

i need output like this:

GROUP ONE: (CUSTOM GROUP NAME IN CRYSTAL REPORT)

ID: TimeSlot Duration
1 09:00-09:30 30
2 09:30-10:00 30
_______________________________
sum of duration(60)

Group Two
ID: TimeSlot Duration
3 10:00-10:30 30
4 10:30-11:00 30
5 10:30-11:00 30 (note it can be duplicate)
______________________________
(sum of Duration) (90)

Please suggest solution in crystal report or even in sql server View.....
thanks in advance....

在一个子报表中创建2个子报表将分组限制为1和2,在第二个限制中将分组限制为其他ID

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM