SSRS Subscription File Name w/ Date

梦想的初衷 提交于 2019-12-08 09:09:39

问题


I have a series of reports that run at different schedules (hourly, daily, weekly, etc) The reports are saved to a share \unc\reports\department\

report

report_1

report_2

report_3

As this is the only way to create a new version.

My question is if there is a way to append either execution time or even just the date so the end user can see the time the report was generated. Currently it is done by looking at date modified properties, which is Ok, but not ideal.


回答1:


You can capture the runtime with @timestamp variable and stamp it with your Report filename. Append @timestamp with your filename in the subcription manager as shown below.




回答2:


yes, this is possible, you would need to use a data driven subscription. Here is a good how-to on it:

http://www.bidn.com/blogs/briankmcdonald/bidn-blog/1255/appending-date-to-end-of-report-name-in-reporting-services-subscription



来源:https://stackoverflow.com/questions/39400831/ssrs-subscription-file-name-w-date

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!