all groups > sql server reporting services > october 2006 >
You're in the

sql server reporting services

group:

Different header in HTML vs. PDF?


Different header in HTML vs. PDF? David Henderson
10/2/2006 2:47:26 PM
sql server reporting services:
I have a report that is being displayed as a web page, and I've also
got a "Printer-friendly" button to call the same report generates as a
PDF. However, due to the business needs of the application, we need to
add an additional footer with copyright information to the bottom of
each page in the PDF version, but not display it when it's being viewed
as a web page (since it will be viewed in an IFRAME).

I've seen that the Visibility property of a section can be an
expression, so what I'm thinking is that I could use something along
the lines of =Iif(format="PDF", true, false) for the Visibility of the
footer, so it will show up when the passed-in "Format" parameter is
"PDF", but not when it's "HTML4.0". However, I'm not sure how to
access this parameter, or even whether or not I am able to.

Is there a way to access this value? Or will I have to make two
different reports, one with a footer and one without?

Thanks,
David Henderson
RE: Different header in HTML vs. PDF? Amarnath
10/4/2006 12:57:02 AM
The second option is the best one.

Amarnath

[quoted text, click to view]
AddThis Social Bookmark Button