Name Of Report Render Format
I am using Reporting service 2008, Release 1. I need to know the name of report render format, so I can solve that kind of issue 1. I place a background image for my report to get better GUI, But I do not want to print it with the report. 2. I have hyper link that redirect user to detail report, and I need to disable this hyper link when user export report to Excel 3. I need to place print date and water mark on the printed copy Automatically khaled Mohamed
August 16th, 2011 7:04am

Hi Khaled_tec, There are three questions. I’ll answer it one by one. Print issue: since there is no build-in feature to support different view from original report when printing, I will share you workaround. 1. Create a parameter, with two Available Values (“0” and “1”), one Default Value “1”. 2. Right-click the image folder in Report Data pane and add the background image into the folder. 3. In the Chart Properties pane, expand BackgroundImage category: Source: Embedded Value: = =Iif(Parameters!ReportParameter.Value="1",”ImageName”,” “) Now, before print action, select “0” for the parameter to hide the background image. Hyper Link issue: If you are planning to upgrade to Reporting Service 2008 R2, there is a new build-in Field Render Format Name, which we can use it to control rendering format. Such as the expression “=IiF(Globals!RenderFormat.Name="EXCEL",NOTHING,url)” will disable the hyper link when export the report to excel files. For other releases before SSRS 2008 R2, we might need use a similar workaround as above. There are details in this thread: http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/0d6ca3de-130c-4284-8881-34d9062abff9/ Print Date time issue: Firstly, the Reporting Services do not support water mark style fonts. Secondly, as I have said in Print issue part, there is no build-in feature to support different view from original report when printing. So we have to add the date time manually by drag the Built-in field Execution Time to somewhere in the report. And then control the visibility by a parameter as a workaround: 1. Right-click the Execution Time textbox, select Text Box Properties. 2. In the Text Box Properties dialog, navigate to Visibility category. And set the expression for Show or hide based on an expression option: =Iif(Parameters!ParameterName=”1”,false,true) Thanks, Lola Please remember to mark the replies as answers if they help.
Free Windows Admin Tool Kit Click here and download it now
August 18th, 2011 4:06am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics