sierra467
02-19-2008, 09:22 AM
I am trying to make a multiple column report that reports the names of people present on a each day over the duration of a conference. The purpose for doing this is to save paper. I want the report to have 3 columns per date section and I would like to have it display the names in the format Down, then Across. The look I want is something like this:
__________________________________________________ ____________________________
01/02/08 (Total Attendants: 20)
__________________________________________________ ____________________________
A--------------- C--------------- G---------------
A--------------- D--------------- H---------------
B--------------- E--------------- I---------------
C--------------- F--------------- J---------------
C--------------- G---------------
C--------------- G---------------
C--------------- G---------------
C--------------- G---------------
__________________________________________________ ____________________________
01/06/08 (Total Attendants: 5)
__________________________________________________ ____________________________
A----------- J------------------ N--------------
B----------------- L----------
__________________________________________________ ____________________________
...and so on through out the report until all the dates are shown with attendents.
So far I have:
main report (rptRoster)
Page Setup: Portrait, Number of Columns 1, Column Size (Width: 6.5"; height: 0.25")
dtmAttend Header: date and attendant count
Detail section: subreport (srptRoster)
The sub report (srptRoster) has:
Page Setup: Portrait, Number of Columns 3, Column Size (Width: 2"; height: 0.25"), Column Layout (Down,then Across)
Detail Section: txtName
Original problem was that I was getting only one column. I read that that was because I did not have the Can Grow and Can Shrink properties set correctly. The report did not think it had to go to the next column because it had enough room to display all the data in the one column. By changing the properties, it thinks that it must display the names in 3 columns.
Now that I have that understood, I am curious how to size the sub report to the correct size depending on the number of names are going to be displayed. I can not use a specified height because if there are more names than will fit in 3 columns in the height specified, some will be left out; and if there are not enough names to fill the specified height of the sub report there will be a lot of white space.
How do I calculate and enter size the sub report to get the view I want with 3 columns?
__________________________________________________ ____________________________
01/02/08 (Total Attendants: 20)
__________________________________________________ ____________________________
A--------------- C--------------- G---------------
A--------------- D--------------- H---------------
B--------------- E--------------- I---------------
C--------------- F--------------- J---------------
C--------------- G---------------
C--------------- G---------------
C--------------- G---------------
C--------------- G---------------
__________________________________________________ ____________________________
01/06/08 (Total Attendants: 5)
__________________________________________________ ____________________________
A----------- J------------------ N--------------
B----------------- L----------
__________________________________________________ ____________________________
...and so on through out the report until all the dates are shown with attendents.
So far I have:
main report (rptRoster)
Page Setup: Portrait, Number of Columns 1, Column Size (Width: 6.5"; height: 0.25")
dtmAttend Header: date and attendant count
Detail section: subreport (srptRoster)
The sub report (srptRoster) has:
Page Setup: Portrait, Number of Columns 3, Column Size (Width: 2"; height: 0.25"), Column Layout (Down,then Across)
Detail Section: txtName
Original problem was that I was getting only one column. I read that that was because I did not have the Can Grow and Can Shrink properties set correctly. The report did not think it had to go to the next column because it had enough room to display all the data in the one column. By changing the properties, it thinks that it must display the names in 3 columns.
Now that I have that understood, I am curious how to size the sub report to the correct size depending on the number of names are going to be displayed. I can not use a specified height because if there are more names than will fit in 3 columns in the height specified, some will be left out; and if there are not enough names to fill the specified height of the sub report there will be a lot of white space.
How do I calculate and enter size the sub report to get the view I want with 3 columns?