pferban Posted May 25, 2011 Share Posted May 25, 2011 Hi,I'm new in JasperReports and now i'm working wiht parameters. Can I do a parameter with a Select?I need a parameter with the result of Query Custumer, and when I select a Customer only print a report with sale of this customer.Thanks Link to comment Share on other sites More sharing options...
despec Posted May 25, 2011 Share Posted May 25, 2011 Yes, you can use Ireport parameters within a SELECT statement...here's an example Ireport parameter is CUST_NO select cust_name, cust_sales from cust_db where cust_no = $P{CUST_NO} Pretty simple stuff, but this should get you started. David Link to comment Share on other sites More sharing options...
pferban Posted May 26, 2011 Author Share Posted May 26, 2011 Hi,Thanks, sorry I have not explained.What I want is that the parameter values ​​are the values ​​returned by a select.Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now