subreport by giving runtime parameter

Hi Admin/Frends,
I give reference to a servlet and also give the parameter value also .E.g
It is working fine but this is hard coding of parameter passing to a subreport.
I want to generate subreports based on the value of the textfield which I hyperlinked to my subreport.
I have one textfield named $F{emp_id}
and in its hyperlinked reference expression I tried to give


so that when masterreport runs whatever value it has in this "emp_id " field ,I can pass the same value to subreport to generate data.
but its showing this


I was expecting to get the runtime value of emp_id field of masterreport.

One can say on the fly subreport generation .

Can anybody tried this thing.
Plz help me in this as soon as possible.

here is my previous query
Post edited by: neetikamittal, at: 2006/08/02 20:50
neetikamittal's picture
Joined: Jul 25 2006 - 9:18am
Last seen: 16 years 8 months ago

1 Answer:

i have the same problem. Have you solved this?
whizzard's picture
Joined: Jun 18 2007 - 4:01pm
Last seen: 15 years 9 months ago