I was doing a parameterised report using ireport4.7.When I run the report, there is a prompt to enter the value(TSC) which is string. The report runs well when i preview it in netbeans.I then created a form with a button. When i click the button, the prompt doesnt pop up instead shown a report without content. The report only shows up when I run the report directly. My question is how do i view the parametrised report through the button.
The name of the report is BY_TSC and it is in the source packages. I have a report generator class.
Here is the code in the Button
reportGenerator r=new reportGenerator();
String reportPath= "src\\BY_TSC\\.jrxml";
0 Replies - 184 Views - Last Post: 22 October 2013 - 07:26 AM
Page 1 of 1