How do I Format report data in repeating columns & rows
I have a report that I need to design which displays a staff roster. This is how I need the report to look like:
LON = List Of Names
Colums = Section number (1-7)
Row = Period number (1-5)
Date
Section
___________1 2 3 4 5 6 7
Period 1 LON LON LON LON LON LON LON
Period 2 LON LON LON LON LON LON LON
Period 3 LON LON LON LON LON LON LON
Period 4 LON LON LON LON LON LON LON
Period 5 LON LON LON LON LON LON LON
My query selects:
1/ A single date (based on a form field)
2/ All the staff that have been allocated to each period of the day and a section where they have been allocated to work. (35 instances each containing a list of names).
I cant do a crosstab because my list of names are text and not numerical.
i.e. My query result is similar to
Date Period Section Name
21 June 1 1 Name a
21 June 1 1 Name b
21 June 1 2 Name a
21 June 1 2 Name a
21 June 2 1 Name a
21 June 2 1 Name b
21 June 2 2 Name x
21 June 2 3 Name y
21 June 2 1 Name z
etc......................
My question is how do I get my ‘sections’ to appear in columns that correspond to my ‘periods’ instead of appearing in rows like a normal report.
Thanks in advance for any help.
I have a report that I need to design which displays a staff roster. This is how I need the report to look like:
LON = List Of Names
Colums = Section number (1-7)
Row = Period number (1-5)
Date
Section
___________1 2 3 4 5 6 7
Period 1 LON LON LON LON LON LON LON
Period 2 LON LON LON LON LON LON LON
Period 3 LON LON LON LON LON LON LON
Period 4 LON LON LON LON LON LON LON
Period 5 LON LON LON LON LON LON LON
My query selects:
1/ A single date (based on a form field)
2/ All the staff that have been allocated to each period of the day and a section where they have been allocated to work. (35 instances each containing a list of names).
I cant do a crosstab because my list of names are text and not numerical.
i.e. My query result is similar to
Date Period Section Name
21 June 1 1 Name a
21 June 1 1 Name b
21 June 1 2 Name a
21 June 1 2 Name a
21 June 2 1 Name a
21 June 2 1 Name b
21 June 2 2 Name x
21 June 2 3 Name y
21 June 2 1 Name z
etc......................
My question is how do I get my ‘sections’ to appear in columns that correspond to my ‘periods’ instead of appearing in rows like a normal report.
Thanks in advance for any help.