Hello,
I wonder how and if this can be achieved:
In a tabular report I have one or more columns that need to be repeated on every new physical page when printed.
Viewing the report in the ReportViewer control allows such columns to be fixed using the "FixedHeader" switch, allowing the user to conveniently scroll the reports content while always having the fixed columns in sight. This is perfect. However, when switching to the Print Layout view or when printing the report, I would like to have these fixed columns be printed on every new page that is generated at the beginning of the table printed.
E.g. I have a report that has a huge number of columns that need to be shown. When printed, the columns need at least 6 pages' width. I would be very convenient if I could repeat e.g. the first column (containing some identificational information) on every of these 6 pages. It wouldn't hurt if e.g. 7 pages would be generated because of the repeated column(s).
Any help is appreciated, thanks a lot!
Frank
If you want to repeat the table header row on each page, set RepeatHeaderOnNewPage=true for the table. Or if you want anything else (data) to repeat on each page, have it in the header and set the same property.
Shyam
|||Thanks for trying to help, btu this is not what I would like to achieve. I want to repeat a column which is part of a table in the body.
Frank
|||What do you mean by repeating a column? Can you give some examples?
Shyam
|||Sorry for being unprecise:
Let's say I have table with 10 columns. Printing the report results in 3 physical pages, page 1 showing columns 1, 2 and 3, page 2 columns 4 and 5, and finally page 3 columns 6, 7, 8, 9, 10. This is the standard behaviour.
Assuming that column one has information that needs to be printed on all the resulting pages, I would like to be able to mark that column in a way that the printout is generated in the following way:
Page 1 showing column 1, 2 and 3, page 2 showing column 1 again then columns 4 and 5, and page 3 showing column 1 again then columns 6, 7, 8, 9, 10.
Of course repeating a column might result in additonal physical pages when printed, obviously becuase more space is needed per physical page. This would be ok.
Considering this and taking the example above again, the result could look like this:
Page 1 showing column 1, 2 and 3, page 2 showing column 1 again then column 4 forcing column 5 to be shown on the third page, resulting page 3 showing column 1, column 5, and e.g. columns 6, 7, 8, then adding a fourth page showing column 1 again and the rest of the columns 9 and 10.
The whole thing should work dynamically allowing multiple columns to be repeated.
|||Use RepeatWith property of the textbox in your column and set it to the name of the table in which it is embedded.
Shyam
No comments:
Post a Comment