Friday, November 29, 2013

ssrs 2008 r2 Globals!RenderFormat coding

There are 7 built in options for exporting SSRS reports..


I was wondering if there is an easier way to code the following in SSRS when chosing the export option:


=IIF(Globals!RenderFormat.Name="WORD" OR Globals!RenderFormat.Name="XML" OR Globals!RenderFormat.Name="CSV" OR Globals!RenderFormat.Name="TIFF" OR Globals!RenderFormat.Name="PDF", Globals!RenderFormat.Name="MHTML" OR Globals!RenderFormat.Name="EXCEL",true,false)


Is there a way to write the code above without having to list each export option listed? A way that includes all the export options? If so, how would you write that code?



No comments:

Post a Comment