Jump to content
  • Connect datasource to bands


    tcloonan
    Assigned User teodord
    CategoryFeature request
    PriorityLow
    ReproducibilityAlways
    ResolutionFixed
    SeverityTrivial
    StatusClosed

    Issue moved from:

    https://sourceforge.net/tracker/index.php?func=detail&aid=1211651&group_id=36382&atid=416706

     

    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

    Priority: 5

     

    Summary:

    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.

     

    detailband1

    field field, field ( this comes from datasource 1)

    detailband2

    field, field, field ( this comes from datasource 2)

    detailband3

    field, field, field ( this comes from datasource 3)

     

    enddetailband3

    enddetailband2

    enddetailband1

     

    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.

     

    Comments

     

    Date: 2005-07-20 18:18

    Sender: code_slaveAccepting Donations

    Logged In: YES

    user_id=413743

     

    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

    user_id=332465

     

    Hi,

     

    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.

     

    Teodor

     

    No Files Currently Attached



    User Feedback

    Recommended Comments

     

    Hi,

     

    I don\'t think this is going to be implemented pretty soon.

    The requirements do not sound very clear and there are various solutions in place for achieving the expected result.

     

    Closing this for now.

     

    Thank you,

    Teodor

     

    Link to comment
    Share on other sites


×
×
  • Create New...