reporting-services

ReportViewer.Render html outputs strange table layout

假装没事ソ 提交于 2019-12-11 05:26:55
问题 I'm new to reporting services and having trouble getting a report to render correctly on my ASPX page. It seems no matter what I do to the layout of the report in the designer, the changes get ignored and the columns remain scrunched together with a big empty white space column to the right of it. Here's what I mean: No matter what I change the widths of the columns to, it always renders like this: By looking at the mark up I can see that a fixed width is being applied, and that the white

Allow a select all option in Dynamic CRM report

丶灬走出姿态 提交于 2019-12-11 05:25:19
问题 Let's say I have a very simple SSRS report for Dynamic365 Online as following: The FetchXML query is as following: <fetch distinct="false" no-lock="false" mapping="logical"> <entity name="account" enableprefiltering="1" prefilterparametername="CRM_FilteredAccount"> <attribute name="name" alias="name" /> <attribute name="createdon" alias="createdon" /> <attribute name="ownerid" /> </entity> Now I want to filter account by owner, I add a parameter as following: The value for my filter is

Change Link Target property for Jump to URL action SSRS 2008 R2 (rc:LinkTarget)

你离开我真会死。 提交于 2019-12-11 05:25:11
问题 I'm using SSRS208R2 to create reports. I display these reports using a ReportViewer control in my web application. some of the fields in my table are tags that user javascript:void window.open... to opent a link in a new window. I use Jump to URL action for my placeholders to achieve that. The Problem: My report is displayed in a separate domain. ReportViewer Control renders the tags with target='_top' property. IE will not let any href='javascript:void alert....' action to run from a

SSRS: Export To Excel?

筅森魡賤 提交于 2019-12-11 05:24:43
问题 Whenever i export my SSRS report to excel, the record gets extracted to multiple columns instead of one column which makes harder to do much stuff in excel? I know it has to do with alignment but can anyone tell me specific what i can do to fix this? 回答1: You would have to be more detailed in your question to provide a specific answer to your problem. However, in my experience, in order to achieve a useful Excel export from an SSRS report it is best to keep the layout of the report as simple

Upgrading Reporting Services Report from VS2008 to VS2010

跟風遠走 提交于 2019-12-11 05:15:34
问题 I am trying to convert a reporting services file from VS2008 to VS2010. It is filled and saved without using the ReportViewer. The following steps causes the error. Open the project in VS2010. All works fine. Open the .rdlc file. It upgrades. Run the application again. It fails. I downloaded the sample from http://www.gotreportviewer.com/objectdatasources/index.html and am using the method from http://knol.google.com/k/microsoft-sql-server-reporting-services-ssrs#Data_Sources to save the info

Get data from a subreport into the main report

时光怂恿深爱的人放手 提交于 2019-12-11 05:13:50
问题 I have made one main report containing a few subreports. At the end I would like to compare some figures from the different parts of the report and also make some calculations with numbers received from the different parts. Does anybody know a way to get values from the subreport into the main report? All calculations e.g. aggregates that will be made at the end refer only to the dataset for the main part and the other subreports have their own datasets, fetched from other tables. 回答1: I must

Accessing one Dataset in Another Dataset (SSRS)

女生的网名这么多〃 提交于 2019-12-11 05:01:31
问题 There are 2 Tables on Two Different Servers, I Have Dataset1 pointing to Server1. Similarly I have Dataset2 Pointing to Server2. Now I want to Use some Values from Dataset1 in Dataset2. Dataset1:- Select * from Table1 This has Name,Lessthan,GreaterThan Dataset2:- Select * from TableX X inner join Dataset1 on Dataset1.name=TableX.name Where X.Time>Dataset1.Lessthan and X.Time>Dataset1.GreaterThan Have tried doing the same as above but we are not able to Access the contents of Dataset1 in

One month limit - Reporting Service

試著忘記壹切 提交于 2019-12-11 04:57:30
问题 I am building a report in Micrososft SQL Reporting Services and, I have two date fields, startDate and endDate. I need to limit the date range, at least in thirty days (or a month). For example, if startDate is 2012/01/01 and endDate is 2012/02/02, it should raise an error message, otherwise (being less than thirty days of difference), it can continue. How can I do that in reporting service? 回答1: You can use a data set to provide default values for your endDate parameter based on your

What's the “cheapest” way to check if a report exists on my Reporting Server?

China☆狼群 提交于 2019-12-11 04:56:15
问题 Given a SQL Server 2008 Reporting Services installation, what's the "cheapest" way to check whether a given report (given by its report name + report path, e.g. /MyReports/SomeOddballReport ) exists (or not) ? I see lots of potential candidates on the ReportServer web service - which one is the quickest and the one using the least amount of system resources?? FindItems() GetReportDefinition() GetReportLink() GetProperties() Any others I'm missing? Thanks for any hints and pointers! I find the

Execute a stored procedure inside textbox to get a localized text

柔情痞子 提交于 2019-12-11 04:47:37
问题 Is it possible to execute a stored procedure inside a textbox? We need this to localize our report. For example, we have a stored procedure which returns the localized text for a given Key and a given LanguageId . I want to execute this stored procedure for every Label (Textbox) with a different key inside my report. We are using SSRS 2008. 回答1: I think you've got things a little mixed up, you can't "execute a sproc inside a textbox" . What you can do instead, is create a dataset that gets