Jump to content

passing parameter using hyperlink


samed

Recommended Posts

Hi friends,

 

Can anybody help me please!

I would like to pass a value to parameter through hyperlink in order to excute other report.

I did the same steps like in the samples but unfortunately the result was empty report.

 

thanks a lot!

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Many thanks for your replay,

 

I did the folowing steps

 

created two parameter connected to the textFieled named view

 

_report for "/reports/reportname"

myID for $F{id}

 

hyperlink type ReportExecution

 

the parameter myID is known in both reports and used in the query for the details report

 

the hyperlink excute the report and shows data if the defult value of the parameter myID is not empty otherwise I become always empty details report that's means the details report could not get the value of the parameter from the hyperlink.

 

thanks for help

Link to comment
Share on other sites

Samed,

 

Your explanation seems like everything should be ok. There might be a typo or other little error somewhere. Can you provide screen shots or the JRXML file?

 

Are you running in the default environment (Tomcat app server, MySQL database)? Anything else different about your setup?

 

Mary

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...