Skip to Content

How to use "Another Report Object" in hyperlink in crystal reports 2016

Hello , My requirement is when i click on a field in main report it should link to sub report using the option called Hyperlink -- type "Another Report Element". Not sure what i have to enter in Data Context field.

If anyone worked on this or any document you have can you please pass it on ?

Thanks

Paturi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Oct 26, 2017 at 01:12 PM

    One option is to do this via on-demand subreports. But on-demand subreport cannot contain their own subreports.

    If you need a solution without On-Demand subreports, there are ways to accomplish this but you need to clarify your deployment scenario:
    a) local/remote desktop processing?
    or
    b) web server deployment?

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 27, 2017 at 01:32 PM

    Hi Paturi,

    You cannot use a subreport as a 'Data Context Element'.

    Could you please elaborate on what you're trying to achieve?

    -Abhilash

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Paturi,

      Instead of trying to use a 'hyperlink', use a Subreport.

      1. Replace the field you wish to click on with this Subreport.

      2. Right-click this Subreport > Format Field > Subreport tab > Check 'On-Demand' Subreport.

      3. Click the formula button beside 'Subreport Caption'. In the formula editor, use the field you removed in Step 1.

      4. Right-click the Subreport > Change Subreport Links > Link fields from the Subreport and Main Report so that the Subreport shows data relative to the Main Report row.

      This will show up the field value and the subreport will appear as a hyperlink.

      -Abhilash

  • avatar image
    Former Member
    Oct 27, 2017 at 03:13 PM
    Add comment
    10|10000 characters needed characters exceeded