I'm using SSRS 2012 and I'm trying to pass an integer value (ItemKey) from my first report to a parameter (prmItemKey) in a second report that opens in a new window.
The second report opens up as expected, but instead of receiving the passed value it receives the name of the field as text.
="javascript:void(window.open('http://rd-sql.rossdown.local/ReportServer?%2fSupportFolder%2fItem+Details&rs:Command=Render&prmItemKey=Fields!ItemKey.Value'))"
The parameter prmItemKey
is expecting an integer, and the report returns a type mismatch error
when it receives Fields!ItemKey.Value
as text.