Issue moved from:
Consult the original issue for any attachments.
[ 1211651 ] connect datasource to bands
Submitted By: Code_Slave - code_slaveAccepting Donations
Date Submitted: 2005-05-30 15:53
Last Updated By: code_slave - Comment added
Date Last Updated: 2005-07-20 18:18
Number of Comments: 2
Number of Attachments: 0
Assigned To: Nobody/Anonymous
connect datasource to bands
can you modify JR so that a datasource can be connected to a details band. Then allow detail bands to be nested.
field field, field ( this comes from datasource 1)
field, field, field ( this comes from datasource 2)
field, field, field ( this comes from datasource 3)
each time detail band1 is evaluated , the nested band 2 &3 are itterated. then when running the report we only need to pass in a list /vector of the datasources.
we would need to extend the datasources, to , allow a variable to be passed in from the nesting datasource, but that should be trivial.
ultimatly it will allow nesting , without resorting to having to "Embed"a report inside another report, which is a real "pig" to do and which tends to seriously chew up memory.
Date: 2005-07-20 18:18
Sender: code_slaveAccepting Donations
Logged In: YES
yes , you could, but it would be sooo, much nicer if jasper could accept a vector/list of datasources and be able to allocate a data source to a band.
Also have you tried coding such a beast?, it is not easy, Any changes to to the form, require changes to the datasource.
Date: 2005-07-20 04:30
Sender: teodordProject Admin
Logged In: YES
I think this can be achieved using a custom datasource implementation that would "merge" several individual datasources. And with this I dont think subreports are required. I hope this helps.
No Files Currently Attached