reportingservices-2005

Is it possible to export to CSV and have the header contain spaces?

依然范特西╮ 提交于 2019-12-08 16:42:13
问题 I have a requirement for an SSRS 2005 report to be exported as a CSV, where the column headers contain spaces. Currently the CSV header column titles are derived from the textBox property names and uses underscores instead of spaces. Is there another, better approach? For example, currently I have: SSRS Report Header : Effective Date TextBox Name : Effective_Date CSV Header: Effective_Date I would like to have: SSRS Report Header : Effective Date TextBox Name : Effective_Date CSV Header:

Can't see “Report Data Pane” when creating reports

泪湿孤枕 提交于 2019-12-08 15:48:56
问题 I cant see "Report Data Pane" when creating reports. I've already tried the shortcurt Ctrl + Shift + D , and looked for Report Data in the "View" menu. I am using Microsoft Visual Studio 2005 and I have my report open. All I see is data sets. I already tried researching but all I see are all the same procedures. 回答1: For users facing the problem now , using Microsoft Visual Studio 2012 Shell (Integrated) , Business Intelligence Development Studio / SQL Server Data Tools , if you find Report

How to use Multiple result sets in Reporting Services

十年热恋 提交于 2019-12-08 03:54:47
问题 I have a stored procedure which returns multiple result sets similiar to the following: ALTER PROCEDURE sp_XXXX ( XXXXXX ) AS SET NOCOUNT ON SELECT XXXXXXX IF @@ROWCOUNT = 0 SELECT XXXXXXX RETURN I want my report to use the first result set if it has data or use the second one in case the first one is empty. Any help? 回答1: In the sproc "union all" your two result sets. If you need to tell them apart add a derived column indicating the original result set. select 'ds1' as dataset, * from

Freeze column header while scrolling

笑着哭i 提交于 2019-12-07 21:45:02
问题 I want freeze all column headers while scrolling down. Also, I want to freeze the first four columns with data when I scroll vertically. For the second part, I used the FIXED data property for the first four columns. It's working perfectly. How do I freeze all column headers when I scroll downwards? I am using SSRS 2005. 回答1: In order to make the column header row repeat on each page, please refer to the steps below: Select the Tablix. In the grouping pane, click on the small triangle and

Howto ignore SSL certificate error in WebService request?

你说的曾经没有我的故事 提交于 2019-12-07 12:08:50
问题 Question: I have written a console program that uses the SQL server 2005 web service to upload reports to SQL Server 2005 reporting service (so that I don't have to upload 100 reports by hand everytime). It works fine locally, and remotely. But now, the problem is one server uses SSL so rs.Url = "https://hostname/ReportServer/reportservice2005.asmx the problem now is the SSL certificate is invalid... I can access the reportserver from the browser however by ignoring this error. How can I do

How to pass multiple values to a multivalued parameter in SSRS

浪子不回头ぞ 提交于 2019-12-07 06:46:01
问题 I will try to explain the issue as best as I can by oversimplifying the report structure. Report one contains 1 group called ResourceCenter and then one line of totals under it. The totals are actually a group but the grouping is done in SQL and are presented in a detail group. The report looks something like this: Report 1 ResourceCenter 1 Total1 11 Total2 4 Total3 8 ResourceCenter2 Total1 12 Total2 11 Total3 6 From this report, I need to drill through to another report that has a bunch of

Detecting NULL dates and showing empty string in SSRS

最后都变了- 提交于 2019-12-06 19:10:36
问题 I'm trying to format some cells in a Reporting Services report that will contain DateTime? values - or not. If the underlying data has a NULL for that DateTime? , I'd like to show nothing (empty cell) - and if that data source contains a value, I'd like to show the date in short date format ( dd.MM.yyyy in my locale). So I tried to put this formula into the relevant SSRS cells =FormatDateTime(Fields!DatumBSE.Value, 2) but now I'm getting 01.01.0001 for all NULL dates.... I can't seem to wrap

How to add an image to an SSRS report with a dynamic url?

落花浮王杯 提交于 2019-12-06 17:48:25
问题 I'm trying to add an image to a report. The image src url is an IHttpHandler that takes a few query string parameters. Here's an example: <img src="Image.ashx?item=1234567890&lot=asdf&width=50" alt=""/> I added an Image to a cell and then set Source to External and Value to the following expression: ="Image.ashx?item="+Fields!ItemID.Value+"&lot="+Fields!LotID.Value+"&width=50" But when I view the report, it renders the image html as: <IMG SRC="" /> What am I missing? Update Even if I set

Dataset with dynamic columns in tablix/matrix

你说的曾经没有我的故事 提交于 2019-12-06 12:00:32
问题 I have a dataset that can come with 5 columns, columns 6, 7, 10, 20, or even 100. At least two are static, the remaining are dynamic (am making a scale according to a table exists in the database). How can I implement this in Reporting Services? How do I specify the field of tablix that the value is dynamic? The end result would be this: | TITLE | ENUNCIATION | GOOD | VERY GOOD | BAD | VERY BAD | ------------------------------------------------------------- | title 1 | question 1 | 5 | 3 | 1

SSRS IIF Date evaluation

这一生的挚爱 提交于 2019-12-06 08:25:57
问题 I have the following code =IIf(Fields!Freeze.Value, Fields!effectivedate.Value, IIF(Month(Fields!effectivedate.Value) <> Month(Now()), Format(Now(), “MM/dd/yyyy”) , Fields!effectivedate.Value)) A. In the first IIF statement I check to see if the Fields!Freeze.Value is true, if its true then It displays Fields!effectivedate.Value (IIf(Fields!Freeze.Value, Fields!effectivedate.Value) B. In the second IIF statemenet I check if the Fields!effectivedate.Value is the current month, If it is the