Report Parameter validation in ssrs report

后端 未结 3 579
一个人的身影
一个人的身影 2020-12-21 10:37

I have created one SSRS report having begin date and end date. If I provide end date< start date it will execute the report as shown in the image

3条回答
  •  太阳男子
    2020-12-21 11:26

    Ciarán, thanks for your suggestion, but the problem with it is you are still hitting the database. I came across these two links that I found a little more helpful in explaining how to validate in SSRS without hitting the database.

    This link shows everything except it's not clear how to use the validation parameter in conjunction with the stored proc.: http://geekswithblogs.net/Compudicted/archive/2012/08/14/validate-ssrs-report-input-parameters-the-proper-way.aspx

    This link clears up how to use the validation parameter with the stored proc.: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/01b37f60-9048-4c54-8d54-574b5fc71de5/how-to-call-a-stored-proc-conditionally-based-on-a-parameter-validation-or-using-a-stored-proc-in?forum=sqlreportingservices

    Added helpful link... I needed to validate using regular expressions and found this link really helpful: https://regex101.com/

提交回复
热议问题