Jump to content
Changes to the Jaspersoft community edition download ×

Parameter is not found


tanvirtonu

Recommended Posts

I m getting out of mind by this error.I am using iReport 2.0.2. I used " SELECT * FROM loan WHERE loan_id =$P{id} " in report query and I added a parameter; name= id , class type= integer, default value=1. But it says after compiling, parameter id not found. I M GETTING out of control bcos I did the same thing before and it worked.
Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Do you really want a default value for the parameter?

 

I played around with a similar example. I have "Use as prompt" set to yes. My example prompts for a value and creates a report, until I set a default value. I tried leaving the default value and setting prompt to no, but it still does not work.

 

Good Luck. I Hope to see how you solve this problem.

Link to comment
Share on other sites

tanvirtonu wrote:

I played around with a similar example. I have "Use as prompt" set to yes. My example prompts for a value and creates a report, until I set a default value. I tried leaving the default value and setting prompt to no, but it still does not work.

Brother even if you try the way u tried,IT MUST WORK.But the question is- why it is not working.

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