2016-09-20 40 views
0

我用具有vb.net和后端的MS Access前端2007 在MS Access 2007年我有以下数据表一个Windows应用程序的工作:合并重复的记录,在水晶报表2010

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 

我我用线条打印此记录在Crystal Reports 2010 vb.net这样的设计(绘图对象)

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 

我想合并重复的记录到一个记录,也行。请帮帮我。

+0

尝试发布正在使用的SQL –

回答

0

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