0 Replies - 422 Views - Last Post: 22 October 2013 - 07:26 AM Rate Topic: -----

#1 Ndumyangel   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 22-October 13

Error In generating Parametirised report using a button.

Posted 22 October 2013 - 07:26 AM

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";

Thank you.

Is This A Good Question/Topic? 0
  • +

Page 1 of 1