reportingservices-2005

How to use multivalue parameters in SSRS

荒凉一梦 提交于 2019-12-12 03:34:18
问题 I have 1 table. 1 have 1 multi-value parameter listing all properties called PROPERTIES. I want the table to display 1 property per row at a time. The table has roughly 20 columns, referencing different datasets throughout. All of the datasets that reference the property have a: WHERE RMPROPID IN (@PROPERTIES) and the dataset has @PROPERTIES value of: =JOIN(Parameters!PROPERTIES.Value,",") (This creates the list of properties selected) The table has a single row, referencing the different

SSRS WindowsIdentity.GetCurrent() giving me NT AUTHORITY\NETWORK SERVICE

坚强是说给别人听的谎言 提交于 2019-12-12 02:59:29
问题 I have custom code inside of a SSRS report that needs to get the current user. e.g. Dim myPrincipal As New System.Security.Principal.WindowsPrincipal (System.Security.Principal.WindowsIdentity.GetCurrent()) I would have expected GetCurrent() to return the principal of the user that was accessing the report; however, it gives me the principal of "NT AUTHORITY\NETWORK SERVICE". Does anyone know how to get ReportServer to run as the user running the report? I checked both web.config, and they

SSRS 2005 in ReportServer and ReportServerTempDB in SQL Server 2008

。_饼干妹妹 提交于 2019-12-11 19:05:33
问题 I have an instance of SSRS 2005 with its ReportServer and ReportServerTempDB in a SQL Server 2005 database. We have to give away this SQL Server 2005 database engine and move to SQL Server 2008, as of now we do not wish to upgrade to SSRS 2008. Can I have SSRS 2005 running with ReportServer and ReportServerTempDB in SQL Server 2008 database? 回答1: Yes, that should be fine, the only issue would be if you were trying to downgrade versions. 来源: https://stackoverflow.com/questions/21912274/ssrs

SQL reporting services report not showing date in correct format

安稳与你 提交于 2019-12-11 16:49:54
问题 i have built a reporting services report off SQL server 2005 and am having trouble getting the date to format correctly in a stand-alone textbox. The code i am using is as follows: ="Date: " & FormatDateTime(Parameters!date.Value, 2)) -- According to MSDN it should work off my systems culture when set to '2' however it is not. Currently being displayed = MMDDYYYY, Want to display = DDMMYYYY Does anyone know what i am doing wrong? 回答1: The reports have their own Internationalisation settings -

SQL 2005 Reporting Services - Wrong Average Values

…衆ロ難τιáo~ 提交于 2019-12-11 16:35:14
问题 I have a report which basically shows time info. There are three levels or groups: Route Fleet Vehicle Under the Vehicle level, the report shows time info for each trip performed by the vehicle, and a time average for the vehicle. Inside the Fleet level, the report shows time info for each vehicle, and an average for that Fleet. The same applies for the Route level. It lists time info for all the Fleets that travel through that route, and an average for that route. The problem is that I am

Which datatype for base64 encoded image?

人盡茶涼 提交于 2019-12-11 14:56:29
问题 Question: In order to store logos in a database and display them dynamically in ms-reporting service, I need to base64 encode the image. It doesn't work with binary saved images, due to MS limitations... Now my question: Which datatype do I use? Varchar, nvarchar or text? I guess varchar would be good enough, since base64 encoded, but images might be larger than 4000 characters... 回答1: Varchar(max) supports up to 2GB, and since the data is already base64 encoded, unicode storage won't be

how to include an ssrs expression and an indicator in the same cell

谁说我不能喝 提交于 2019-12-11 12:46:21
问题 I would like to include an expression and an ssrs indicator based on the same expression in the same cell of a table. I have tried doing the approach in the link shown : http://social.msdn.microsoft.com/Forums/en-US/f5f19834-ba37-410c-bb7e-179807dfefea/indicator-value-in-same-cell?forum=sqlreportingservices but the borders for that cell become invisible when I preview the report. Please let me know if there is any other good way to do this which doesnt effect the borders. my expression looks

How to know if a report is already printed in SSRS?

≡放荡痞女 提交于 2019-12-11 12:33:32
问题 The user of my report would like to know if the report has already been printed? If the report has already been printed then the user would like to see a message that the report has already been printed previously on the report next time the report is generated. what is the best way to achieve this? Thanks in advance. 回答1: There is no official documentation on how to achieve this, but I there could be a way of doing this. The ExecutionLogStorage table contains information about reports

Convert Unix Epoch Time to format HH:MM:SS without the date

百般思念 提交于 2019-12-11 09:26:12
问题 I'm using SSRS 2005 and I need to convert time from a serial unix time like 3412.254263 to a duration like 166:12:35 where the second format is HH:MM:SS. All .NET code should work, but I can't find any function that does not include the date or does not treat the result as a duration. Any help would be appreciated! 回答1: Public Shared Function formatSeconds(ByVal seconds As Double) As String Dim ts As TimeSpan = TimeSpan.FromSeconds(seconds) Return String.Format("{0:00}:{1:00}:{2:00}", Math

Multiple group expressions in list (ssrs 2005)

送分小仙女□ 提交于 2019-12-11 08:16:50
问题 I have a problem with group expressions in a list. I want to use two expressions: =Ceiling(RowNumber(Nothing)/3)' and '=Cint(Fields!kpilevel.Value) They work both individually, but when I insert them together only 1 works. I inserted them like this: img718.imageshack.us/img718/736/problemxq.png Does anyone know how to solve this? Thanks in advance, Kris EDIT: Better Explanation Mark you are right, I didn't explain it very well. I want to place the data in a matrix, with a maximum of three