Jump to content
We've recently updated our Privacy Statement, available here ×

Hyperlink for one text field to another text field


sandeep.bheemireddy
Go to solution Solved by szaharia,

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

Hi,

You need to create a local anchor hyperlink in your report:

  • for the element 'B' - set an Anchor Name Expression; make sure this expression is valid (some output formats don't accept spaces, for instance) and generates unique results per report (pay special attention when the element 'B' is placed in a detail band that will repeat itself at runtime)
  • for the element 'A' - set the Hyperlink type attribute to 'LocalAnchor' and choose the same expression for Hyperlink Anchor Expression as in the Anchor Name Expression for the textfield 'B'

An example related to hyperlinks in JasperReports is available here.

I hope this helps,

Sanda

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...