SSRS: How to display a hyperlink in sql services reporting

前端 未结 2 1377
忘掉有多难
忘掉有多难 2020-12-14 10:05

I\'m using SSRS for 2008 R2 to display some data-generated reports. In my database table, I have a cell called Remarks. It usually contains links to software defects. The ce

2条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-14 10:28

    Two approaches, the first assumes data is pre-formatted as a URL (e.g. https://www.google.com). The second assumes the URL is contained within some other text (e.g. 'This is a link to Google').


    URL Only

    1. Right-click the field in design view, select Text Box Properties. Report Builder Field Right-Click

    2. Select the Action pane, select the Go to URL radio button.

    3. In the Select URL textbox, enter the field value expression. Field Action URL


    URL Embedded in Text

    1. Double-click the field in design view, then right-click Create Placeholder. Report Builder Placeholder

    2. In the Value textbox, enter the field value expression containing HTML tags.

    3. Under Markup Type, check the HTML - Interpret tags as styles radio button. Report Builder Placeholder options

    4. Verify link is displayed when report is run. Report Builder Placeholder Output


提交回复
热议问题