anshukunal Posted October 5, 2010 Share Posted October 5, 2010 Hi,I am new to the jasper reports.Need help in generating jasper report according to the input given by the user.eg.If I am having a table in the database having information about different people.Now how will I create report if the user gives different input.If user gives Name as Adam : The details of Adam should be displayed in the report.If he gives Name as John: The details of John should be displayed in the report.Thanks,Anshu Link to comment Share on other sites More sharing options...
svenn Posted October 5, 2010 Share Posted October 5, 2010 The application running your report need to pass a parameters to the report that contains the value you want to select on. The report then needs to assign this parameters to the SQL or other mech that is being used to retreive data for your report. 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