Hi,
I am new to reporting services and I'm really stuck on a design problem. Can someone please help me?
I would like to design my own print function. When a user clicks on the print icon (preferably the one that came with reporting services), the report is automatically printed twice, once with "For Person A" and the second time with "For Person B" on it. It doesn't matter where these two labels are placed on the page. These two reports need to be printed on letter-size paper regardless of user's selection. How do I do this with minimum amount of code?
Any help would be greatly appreciated!
Depending on how the names of person A and person B actually get onto the report, you could add a grouping by person with a page break and actually make the report have 2 pages, 1 per person.|||Hi
Thanks for your help.
The names are constant - ie they can be hardcoded.
If I make the report 1 page per person, does that mean the user will see two copies of the report in preview? Is there a way so that the user sees one copy but can print multiple copies with a single click?
Thanks!
|||Hi
If there is a field with "Person A" and "Person B" you can add
a grouping by that field and set 'Page Break at end' on the grouping to true.
If this is a static value that has to be hard coded I cannot think of anything.
Problem when using the group by person approach is that the report will display
twice in the browser, each seperated by a pagebreak.
G
|||More specifically, the report will indicate that it has multiple pages (hence allowing the user to browse to the next page) but by default only the first page will show. When you export or print, all pages will be outputted.|||Is there a way to do this without showing multiple copies (show one copy of the report in preview but prints two)?
Ideally I would like to create a print function that can be used across all reports, instead of changing all existing reports.
Thanks
|||In that case your only other option is write your own rendering extension. That's quite involved and probably not how far you would want to go in this case.
You can't override the default print function.
|||Ok, got it. Thanks for your help :)
No comments:
Post a Comment