Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
padsp
Starting Member
21 Posts |
Posted - 2007-04-04 : 13:31:34
|
HiMy client requires a strange solution. I use SQL Server 2000 in VB.NET. I need to populate this result set in Crystal Report grid format. Desired output similar to attendance sheet.Here are my table structures:Table: HostDetailsHostID HostName500 ABC Hotel501 Xircom502 Xerox503 DellTable: MeetingDetailsMtgID HostID MtgDate MtgType100 500 04/10/07 9:30 Tech101 500 04/10/07 16:00 Analy102 500 04/10/07 18:00 SurveyTable: InviteesMtgID InvitID Mandatory Expected(atleast)100 500 Yes 2100 501 Yes 1100 502 No 0101 500 Yes 10101 502 Yes 1101 503 Yes 10102 500 Yes 1102 501 Yes 1Looking for the following resultset for report: here {below time} means I need to leave blank space if Mandatory=Yes so client would print manually how many attended; otherwise print 'X'Also as you can see each participant is categorized by time/time/mandatory/expectedID Name 9:30AM Tech M Exp 4PM Analy M Exp 8PM Survey M Exp 500 ABC Hotel {space } Y 2 {space} Y 10 {space } Y 1501 Xircom {space } Y 1 {print X} No 0 {space } Y 1502 Xerox {Print X } N 0 {space} Y 1 {Print X} No 0503 Dell {Print X } N 0 {space} Y 10 {Print X} No 0Please throw you suggestion in how to get this output. I'm trying to do in procedure.Thanks againBob |
|
|
|
|