Group more than one columns in rdlc report with multilevel grouping

☆樱花仙子☆ 提交于 2020-01-07 02:29:10

问题


I have a report where I want to display data obtained by a stored procedure which returns single table.

Columns returned from stored procedure

Client #, Client Name, Client Phone #

Project #, Project Description

Test #, Test Name, Test Description

Container #, Container Description, Container Parameter

Relationship between tables

Client - Project 1-N(one to many)

Project - Test 1-N(one to many)

Test - Container 1-N(one to many)

Desired format to be displayed

Client #  :  XYZ               Client Name : Patterson, Celeste              Phone # (XXX) XXX-XXXX

          Project #: P1                    Project Description: Project 1 Data

                       Test #      Test Name     Test Description   Container #     Container Description  Container Parameter

                          T1            Test 1             Test Data             C1                      Container Data           C1 Parameter

                          T1            Test 1             Test Data             C2                      Container 2 Data        C2 Parameter

                          T2            Test 2             Test 2 Data          C1                      Container 1 Data        C1 Parameter

                          T2            Test 2             Test 2 Data          C3                      Container 3 Data        C3 Parameter

          Project #: P2                    Project Description: Project 2 Data

                       Test #      Test Name     Test Description   Container #     Container Description  Container Parameter

                          T1            Test 1             Test Data             C1                      Container Data           C1 Parameter

                          T1            Test 1             Test Data             C2                      Container 2 Data        C2 Parameter

                          T2            Test 2             Test 2 Data          C1                      Container 1 Data        C1 Parameter

                          T2            Test 2             Test 2 Data          C3                      Container 3 Data        C3 Parameter

回答1:


You Can Add 3 groups.

1 Group:Client

In this group u can add client description etc.

In the Same way other 2 groups

2 Group:Project 

3 Group:Test

This Will Display the Data the format you Needed.



来源:https://stackoverflow.com/questions/8297333/group-more-than-one-columns-in-rdlc-report-with-multilevel-grouping

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!