reporting-services

SSRS Hiding the textbox in a table cell causes the borders to disappear

ε祈祈猫儿з 提交于 2019-12-23 12:15:16
问题 I have a report with a table in it. And each table cell has borders around it. The problem I'm experiencing is that if I hide the textbox in any of the cells, the borders also disappear. I want the textbox to hide but still show the borders. The textbox in question shows the visibility toggle icons (+/-) so I can't use an iif statement to change the textbox's value to be an empty string when I don't want to see anything in it. 回答1: You can place the textbox inside a rectangle. 回答2: ***So , I

How to get current date in file name?

一个人想着一个人 提交于 2019-12-23 11:58:31
问题 I am generating report everyday through SSRS. I am trying to get current date as file name when ever the job runs and file created. Like this ID_report_03-31-2014 I have tried echo %date% %time% and @ExecutionTime but it doesn't work 回答1: The main option with a file share subscription is to add @timestamp to the file name. From File Share Delivery in Reporting Services: An alternative approach to creating unique files for every delivery is to include a timestamp in the file name. To do this,

Reporting services expression using Switch

蹲街弑〆低调 提交于 2019-12-23 11:54:28
问题 I couldn't get this expression working with reporting services. I have to use IF and ELSE IF statement. Thank you for any suggestions. = Switch( IsNothing(Fields!field_date.Value),"", Fields!set_flag.Value=1,"Declined", Fields!field_name.Value) Here is what I am trying to do. If(IsNothing(Fields!field_date.Value)) Then ""; ElseIf Fields!set_flag.Value=1 Then "Declined"; Else Fields!field_name.Value 回答1: Doesn't SSRS use the VB Runtime Library? In which case, the switch statement is documented

Reporting services expression using Switch

偶尔善良 提交于 2019-12-23 11:54:04
问题 I couldn't get this expression working with reporting services. I have to use IF and ELSE IF statement. Thank you for any suggestions. = Switch( IsNothing(Fields!field_date.Value),"", Fields!set_flag.Value=1,"Declined", Fields!field_name.Value) Here is what I am trying to do. If(IsNothing(Fields!field_date.Value)) Then ""; ElseIf Fields!set_flag.Value=1 Then "Declined"; Else Fields!field_name.Value 回答1: Doesn't SSRS use the VB Runtime Library? In which case, the switch statement is documented

Any way to export/import sql server reporting services subscriptions?

独自空忆成欢 提交于 2019-12-23 10:39:32
问题 I have not been able to find a way to export/import subscriptions either in the Report Manager or by SQl Server Management Studio. Anybody know if this is possible? 回答1: You can write your own stuff using the SSRS web services. The biggest agro with that depends on your security model (double hops, windows Auth, server farms etc). OR you could try this app if you are just moving stuff around: http://www.sqldbatips.com/showarticle.asp?ID=62 来源: https://stackoverflow.com/questions/202295/any

Any way to export/import sql server reporting services subscriptions?

谁说胖子不能爱 提交于 2019-12-23 10:39:32
问题 I have not been able to find a way to export/import subscriptions either in the Report Manager or by SQl Server Management Studio. Anybody know if this is possible? 回答1: You can write your own stuff using the SSRS web services. The biggest agro with that depends on your security model (double hops, windows Auth, server farms etc). OR you could try this app if you are just moving stuff around: http://www.sqldbatips.com/showarticle.asp?ID=62 来源: https://stackoverflow.com/questions/202295/any

Any way to export/import sql server reporting services subscriptions?

血红的双手。 提交于 2019-12-23 10:38:06
问题 I have not been able to find a way to export/import subscriptions either in the Report Manager or by SQl Server Management Studio. Anybody know if this is possible? 回答1: You can write your own stuff using the SSRS web services. The biggest agro with that depends on your security model (double hops, windows Auth, server farms etc). OR you could try this app if you are just moving stuff around: http://www.sqldbatips.com/showarticle.asp?ID=62 来源: https://stackoverflow.com/questions/202295/any

SSRS Custom Assemblies could not be loaded under Visual Studio 2017

情到浓时终转凉″ 提交于 2019-12-23 09:50:01
问题 I have just installed VS 2017 and moved my SSRS project from VS 2015 to 2017. I have a custom assembly which is working fine under VS 2015, but not 2017. It says Error while loading code module: 'CustomLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Details: Could not load file or assembly 'CustomLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. I had exact same problem under VS 2015 and the solution

Reporting Services - setting a field value dynamically based on parameter

混江龙づ霸主 提交于 2019-12-23 09:06:16
问题 I need to build a report that shows data in four grouped levels. The tricky part is: the actual fields to be displayed on those four levels are to be passed into the report as parameters. My main issue right now is this: how can I tell a textbox on the report to not display the value of the parameter @X, but the value of the field by the name which is specified in parameter @X? So if I pass in @X = 'Agent' , I don't want to show 'Agent' on the report, but really =Fields!Agent but how can I do

Which version of VB is used in SSRS

↘锁芯ラ 提交于 2019-12-23 08:55:29
问题 Which version of Visual Basic does SSRS support? MSDN page says that you write Visual Basic in the report code but doesn't say much about the version. 回答1: Good question. Microsoft are not very clear about this. The RDL specification for SQL Server 2008 R2 states that expressions "are defined in a Visual Basic compatible syntax", but does not provide any other detail, except an obsolete link. There is also no mention of custom code other than .NET references for precompiled dlls. Code written