birgit Posted February 25, 2010 Share Posted February 25, 2010 Hi helpers,I am just getting familiar with ireport. Great tool, great possiblities. First Reports are working very well, but I cannot find any solution for this problem:I am working on a customer statistic, one page is one customer. Because there are over 1000 customers I get one pdf with 1000 pages. What I need is 1000 pdf-files with one single page and best would be, if every pdf is named with <custumer_no>, a field from the source data.Has anybody the solution or a hint for me? Is this possible? Link to comment Share on other sites More sharing options...
slow Posted February 26, 2010 Share Posted February 26, 2010 you can obtain your multiple files programmatically, creating one report for a single customer (the report query receives a parameter, the custerm id) and then launching in a loop over the customer dataset the report generation with the respective filename and customer id... Link to comment Share on other sites More sharing options...
birgit Posted February 26, 2010 Author Share Posted February 26, 2010 Hi slow,sounds good, but I do not yet know how to do / I am not a programmer.I already have the report page for one customer, that should work but how to get the loop over the customer dataset?Is it able to set this in the ireport gui anywhere or do I have to modify the xml?What parameter do I specify in the report query (group by customer id?)Can you give me more details or maybe an example?Thanks for your help! Link to comment Share on other sites More sharing options...
slow Posted February 26, 2010 Share Posted February 26, 2010 ehm...for a programmer it is simple to do... (I do it with java...)but it seems to be more more difficult working only with ireport...and I think it's impossible without the power of scripting, programming tool,etc. that use basic concept as loop etc. to do all only with a valid (but limited without external control) tool as ireport...I hope others can give yiu better support on... 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