合并Crystal Report 2010中的重复记录

时间:2016-09-20 15:53:57

标签: visual-studio

我正在使用具有前端的Windows应用程序在vb.net和后端ms访问2007 在ms access 2007中,我有以下数据表:

MeetingDetails Table
ID  MeetingNo   SubjectId   MeetingSubject  Instructions                    Status
1      1         A001      Human Resource   All Recruitments must be completed till April 2016  
Incomplete
2      2         A001       Human Resource  All Recruitments must be completed till June 2016   Inprocess
3      3         A001       Human Resource  All Recruitments must be completed till August 2016 Inprocess
4      4         A001       Human Resource  All Recruitments must be completed till September 2016  Complete

Subject Table
Subjectid   SubjectName
A001      Human Resource
A002      Infrastructure
A003      IT
A004      Planning

我通过使用线条进行设计(绘图对象),在vb.net 2010中的水晶报表中打印此记录

ID  MeetingSubject  Instructions                                        Status
1   Human Resource  All Recruitments must be completed till April 2016  complete
2   Human Resource  All Recruitments must be completed till June 2016   Inproces
3   Human Resource  All Recruitments must be completed till August 2016 Inproces
4   Human Resource  All Recruitments must be completed till Sept 2016   Complete

但我想打印这样的记录,不重复行和重复数据:

ID  MeetingSubject  Instructions                                         Status
1                   All Recruitments must be completed till April2016 Incomplete
2                   All Recruitments must be completed till June2016   Inprocess
3   Human Resource  All Recruitments must be completed till August2016 Inprocess
4                   All Recruitments must be completed till Sept2016    Complete

我想将重复记录合并到一个记录中,也包括行。请帮帮我。

1 个答案:

答案 0 :(得分:0)

在详细信息部分中为会议主题和其他字段创建一个组。