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
我想合併重複的記錄到一個記錄,也行。請幫幫我。
嘗試發佈正在使用的SQL –