Tuesday, March 20, 2012

report table with links

How do you add a URL to the table? For example:

Post column
=Fields!PostID.Value

URL column
="<a href = ""http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=" & Fields!PostID.Value & """>" & Fields!PostID.Value & "</a"

Check out the JumpToUrl property of your textbox (on the Navigation tab), and set it to something like this:

=void(window.open('http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=" & Fields!PostID.Value & "','_blank'))"

No comments:

Post a Comment