Pass a parameter value to a Dataset Parameter in SSRS 2008

非 Y 不嫁゛ 提交于 2019-12-03 16:35:26

You can try the dynamic expression under your parameter value. Something like following expression:

    =”<QueryOptions><CalendarDate> = “&Parameters!Date.Value.Tostring(“MM/dd/yyyy”) &”</CalendarDate></QueryOptions>”

Ok i got this working!

  1. I created a new Parameters in the Parameters folder as Date and queryOptions.So basically queryOptions is everything that i want to use as a query.

  2. Then another queryOption parameter is created under Dataset Properties>>Parameters.

  3. Set value of queryOptions(Step 2) to [queryOptions](Step 1).

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