2006 IR Open Discussion Posted August 19, 2006 Share Posted August 19, 2006 By: Luiz Antonio Ramos Filho - luizrms Using the XML file with the web 2003-07-30 11:08 Greetings to everyone. I m developing a web system which needs to generate reports and labels. I already built the Jasper XML file using iReport and now I want to use it with the web so I can select what kind of report I want and each report will have a different SQL query. How can I pass the value to the XML file (for the query) and how to compile a PDF through the web? Thank you very much. ---------------------------------------------- Luiz Ramos luiz.jasper@terra.com.br By: Teodor Danciu - teodord RE: Using the XML file with the web 2003-07-31 09:23 Hi, You can supply the entire SQL query dinamically using the report parameters. Not that there are two types of paramters in the query, depending on the syntax you use: $P{} or $P!{} Check the "query" sample and the documentation for details about the use of report parameters. Note however, that the query should return the same set of fields. If not, I'm afraid we are talking about dynamic report templates and you have to check the "noxmldesign" sample for that. I hope this helps. Teodor 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