Hi Friends,
I am looking for help in designing horizontal staff time table report where my data is in vertical format.
Data coming from query :
ScheduleDate | StaffID | StaffName | Class | TimeFrom | TimeTo |
13/10/2014 | 12 | aaa | a1 | 10:00am | 11:00am |
15/10/2014 | 12 | aaa | b1 | 2:00pm | 3:00pm |
17/10/2014 | 12 | aaa | c1 | 9:00am | 10:00am |
20/10/2014 | 12 | aaa | d1 | 11:00am | 12:00pm |
20/10/2014 | 12 | aaa | e1 | 3:00pm | 4:00pm |
here staff may have more than one class in the same day that should be displayed under the same column in the report
Expected report format :
Staff Name: aaa
Monday Wednesday Friday Monday
10:00am - 11:00am 2:00pm - 3:00pm 9:00am - 10:00 am 11:00am - 12:00 pm
13/10/2014 15/10/2014 17/10/2014 20/10/2014
a1 b1 c1 d1
3:00pm - 4:00 pm
20/10/2014
e1
Please give me some idea on how we can implement.. |
Thanks in advance, Sam. |