-
Why would you wrap a Boolean-returning expression in an Iif() function?
Any time you catch yourself writing Iif(Expression, True, False) go back and remove the Iif:
=Globals!RenderFormat = “EXCEL”
That’s already True or False.
-
That is… `Globals!RenderFormat.Name`
My apologies. Anyway, this was helpful. Thanks for the blog post.
-
-
Thanks much for this information.
I do have 1 question.
I need to add a row to an Audit Log table every time a user runs a report, prints a report or exports a report. I also need to make a distinction between printing and exporting a report. I noticed that the TIFF export and the Print button have the same Render Format name and IsInteractive values. Is there any way to distinguish between printing a report and exporting to a TIFF file?
FYI, I am using a custom assembly to call a WCF service which is used to cut the audit record.
-
Mike, You don’t need a custom assembly to audit report execution. Check out the view ExecutionLog3 in the ReportServer database (the latter may be ReportServer$InstanceName)n on the SSRS host server. This view has rows for each execution of the report and includes much usefult information including user, execution time, duration parameter values etc. One of the fields is ‘Format’. The values here are similar to the RenderFormat.Name values, except that printing the report logs a value of ‘IMAGE’. That shoud give you all you need for your audit.
-
-
Some time , we don’t know exact capabilities of any function.
Thanks for exploring that…. -
PDF export doesn’t support toggling. I tried the above Is Interactive to show or hide the tablix and still no luck. The goal is to have everything hidden when it is interactive and shown when its not.
Any suggestions on how to get around this issue ? -
Lupe, have you tried setting the hidden property of the tablix to =Globals!RenderFormat = “PDF”?
With that settin, the tablix should be visible under all formates except PDF. -
Have any alternatvie for SSRS 2005 ¿?
-
There are some important alternative for SSRS 2005.
-
I’ve tried Hidden=(Globals!RenderFormat.Name = “RPL”) on SSRS 2008R2 and it renders on view (preview in BIDS and on server) and export.
Is there a reason why this would not work? Config or setting?
-
What are the alternatives for SSRS 2005 to achieve this feature.
-
Hai To All,
Please Help me Out.
Iam using SSRS 2008.my question is iam writeing make,model,year in single text box,but my intention is it is splitting into 3 columns seperatly (In CSV version).
URGENT.
-
Thanks for ur reply.
can u give any example for this…my goal is single textbox i use 3 columns( fields) .but when i export into CSV the column names are splitted into seperately.for example we are using 3 fields in a text box but when export into csv version it should split into 3 columns .Is it possible ?
ex:
name district region
state
countryassume it as expected output :name district state country region
when iam exported into CSV version.
Note:district,state,country as take as single textbox(must and should)
-
Hi Valentino,
where should i post my example? i see ur blog ..good.really much appreciated for ur response.please give me concern.i have a sample example also.
Thanks,
Satish -
Hi Valentino,
Link:
I posted my question in MSDN.Please give me answer as early as possible.iam waiting for ur reply.
Thanks,
Satish -
Hi Valentino,
What is the main difference between SQLSERVER 2005 and 2008 ,2008R2.give me best 10 differences.
Thanks,
Kumar -
Hi,
I get this to work for PDF and EXCEL, but it does not work for CSV.
works just fine:
Globals!RenderFormat.Name = “EXCEL”
Globals!RenderFormat.Name = “PDF”does not work:
Globals!RenderFormat.Name = “CSV”Any ideas?
Thanks,
Rob







23 comments
Comments feed for this article
Trackback link: http://blog.hoegaerden.be/2011/01/18/ssrs-hideshow-items-dependant-on-export-format/trackback/