I have a table containing information on classes (courses), and one of the fields is start date, the date the class begins. On the report, three of these classes are column headers, and the data that I want in those columns is the start date for the classes. This means I'll be drawing from 3 different records (3 different start times), but I'm wanting them all on the same row in the report.
Example:
Table Class | Table Roster
Class StartDate | Person fkClassID
Crystal Reports 1/1/99 | John Doe 1
Visual Basic 5/5/00 | Jane Smith 25
SQL Server 9/5/00 | Tom Williams 38
| John Doe 38
| etc.
Report (Ideal Results):
PersonTakingClass Crystal Reports Visual Basic SqlServer
John Doe 1/1/99 5/5/00 not taken
Jane Smith not taken 5/5/00 9/5/00
Tom Williams 1/1/99 5/5/00 9/5/00
What I'm getting instead is three rows for each person, like this:
Bad Report:
Person Crystal Reports Visual Basic SqlServer
John Doe 1/1/99 Null Null
John Doe Null 5/5/00 Null
John Doe Null Null not taken
etc.
Thanks for your help! Hopefully this makes sense....