ospf Posted June 18, 2013 Share Posted June 18, 2013 Hi!I just searched my ass of to find an answer to this question to no availalbeit i think what i want is fairly trivial - i hope someone can help me.I want to fill a Report with one dataset at a time, because the informationis generated just-in-time from a packaging machine. Time is critical,so i have to adhoc fill my report with every single dataset just the moment i get the current dataset complete. Something like this: wait for the dataset to become complete fill the report with the one dataset print the reportThe best way to do this that i know up to now is this: create a bean with a dataset create an array of this one dataset create an JRBeanArrayDataSource with the array fill the report with the datasource export or print the reportBut i have the strong Feeling, that this is not the optimal solution, because i simply want to give the fields to the report directlywithout using that Bean-Array for just one dataset.Is there a more elegant way to do this? 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