ssrs-2008

How to get page count of pdf byte array generated through SSRS

孤街浪徒 提交于 2019-12-12 20:13:52
问题 My task is to get page count of a pdf content. I made use of SSRS tools to generate pdf byte array. Once I get byte array I need to get the page count of this byte array generated. C# is the programming language used. Currently I am creating a pdf file physically, using the generated pdf byte array. Later I am opening the pdf file in the memory and getting the page count. Finally I am deleting the file that has been created for temporary purpose. Is there any way to get the page count of the

SSRS Multiple Dataset Errors

浪尽此生 提交于 2019-12-12 19:15:29
问题 I have a simple SSRS report that displays data from one table. What I want to do is have a distinct list from that table displayed in a drop down list for the user to select. If I only use one dataset I can get it to display, but it displays values from the column multiple times. Example Bob Bob Bob Cathy Cathy If I create a second dataset that will list distinct values I get the following error message: An Error occurred during local report processing. The definition of the report is invalid

My Reporting Services 2008 web service URL only shows a directory listing

ⅰ亾dé卋堺 提交于 2019-12-12 18:37:33
问题 I have reporting services setup on my machine. I can access http://localhost:8080/Reports_SQL2008 and the reports manager works fine. When I try accessing the web service URL (http://localhost:8080/ReportServer_SQL2008) all I get is a directory listing that looks something like: -------------------------------------------------------------------------------- February 4, 2010 9:08 AM Data Sources February 4, 2010 9:08 AM ReportProject1 ----------------------------------------------------------

SSRS - Auto Refresh of the Data Set Fields

混江龙づ霸主 提交于 2019-12-12 16:27:38
问题 We have about 90 Report Builder Reports built by power users. These reports are built off the 20 odd Base reporting tables. Once in a while we add new fields to these reporting tables. The challenge here is to automatically refresh the Datasets in Report Builder (SSRS) without having to go through each report to manually refresh data on the data set. Since SSRS processes these reports with FMTONLY ON is there a way to automate this process dynamically. Thanks 回答1: So, I think you should use

SSRS - How to make IIF statement ignore invalid values

寵の児 提交于 2019-12-12 14:05:24
问题 I am creating a table in SSRS with Business Intelligence 2008. I have a date, as a string, as one of the values used in the table. This value may have a string representing a date, OR it could also be blank. If it has a value, I want the value formatted in a different way. Right now, I have this expression for the cell in which it is displayed: =IIf(Fields!MyDate.Value = Nothing, "", Format(CDate(Fields!MyDate.Value), "dd-MM-yyyy")) This works perfectly if the field has a value. However, when

Expression to change specific value text color in string of values in SSRS based on another field

自古美人都是妖i 提交于 2019-12-12 13:51:54
问题 I have a field in my SSRS report, that contains a string of numbers delimited with commas (from a coalesce select in SQL). It looks like 12, 91, 160, 171, 223. I would like to change the text color of only ONE specific value (160 for example) in the field, IF the value is also in another field of the report. I already have this for an expression for the Font of the field properties. =iif(Fields!Store_Number.Value.ToString().Contains (Fields!DMHomeStore.Value)= True,"Red","Black") This changes

Report Builder/SSRS and RDLs - HTML <img> support?

懵懂的女人 提交于 2019-12-12 11:34:54
问题 I'm completely new to SSRS so apologies if this is a silly question. I have an RDL with a HTML placeholder however if I pass an <img> tag in the dataset this does not render. I see on this Technet article that there is a list of supported tags, which unfortunately doesn't include <img> . I've been able to add an image with an external source based on an expression which uses a dataset field so it seems a little strange that you can't use images in HTML placeholders. Is there a workaround for

Truncate textbox content with ellipsis in SSRS

不羁的心 提交于 2019-12-12 10:40:48
问题 By default, when the contents of a textbox in SSRS overflows the width of the textbox, the textbox will grow vertically to accommodate its content. This feature can be turned off, by setting the "CanGrow" property of the textbox to "False". However, this abruptly cuts off the content, which is not ideal. I am looking for a way to clearly show the user that the text is too wide to fit the textbox. In the past, I've been using a simple expression to add an ellipsis "...", when the length of the

How to set your own ssrs default parameter

你。 提交于 2019-12-12 10:20:05
问题 I am using a SSRS Parameter for my reports. The parameter is populated by a Dataset - sql query. select ProductName from Product I set these values using the 'Available Values' option I want to set the Default Values as "Select" When I select the No Default Value , the output message I see is is * select a value" But my requirement is to see only "Select" I dont see any other properties that I can set . is it possible to set your own default parameter ? 回答1: The Available values determine

Convert a date to integer within parameter

爱⌒轻易说出口 提交于 2019-12-12 09:57:16
问题 Right now I have a Stored procedure which takes a date as an integer (140213) but within SSRS I need to convert the date selected within the date parameter to the integer mentioned before. Right now I am trying to achieve this by having 2 parameters (date and convert), one that lets you select a date, and the 2nd trying to convert the date to an int. Within the 2nd parameter in the Default value I have: =FormatNumber(Format(Parameters!date.Value, "yyMMdd"),0) The 2nd parameter is set to