Menu

Jasper Report & Parameters

ART Help
Grant
2014-01-29
2015-08-17
  • Grant

    Grant - 2014-01-29

    I'm trying to pass a parameter to a Jasper report through ART but I can't get the report to recognize it. Has anyone successfully done this? I have the parameter defined in ART in the same case as I have it defined in the report. Is there a setting somewhere I'm missing?

     
    • Timothy Anyona

      Timothy Anyona - 2014-01-30

      This does work. You can check the sample/demo database, I believe at least one of the jasper report samples should have a parameter.

      If you still can't get it to work, you'd need to provide more details on the ART query and jasper report to help troubleshoot.

       
  • Grant

    Grant - 2014-02-04

    Thanks, the demo database and sample reports helped me find out what I was doing wrong. I was listing the parameters in the source, but I didn't have them surrounded by '#'. Once I did that, it works now.

     
    • Timothy Anyona

      Timothy Anyona - 2014-02-05

      Glad to hear.

       
  • Bojan

    Bojan - 2015-08-15

    Where did you surrond parameters? Are you in jasper defined parameters with #?

     
    • Timothy Anyona

      Timothy Anyona - 2015-08-17

      No. Surround parameters with # within ART.

       
  • Bojan

    Bojan - 2015-08-17

    Tnx. I dinn't know that I have to write SQL code (write just parameters) although use jasper report

     

Log in to post a comment.