Home General

How to save a only a band (only detail, footer, header) to a stream ?

edited June 2001 in General
Is some way to save only a band to a stream.

I need to create reports, in run time, with diferent header and footer for
diferent conditions. Then I need to load diferent band from my database. Now
I do it using subreport. But is Some way to save and load directly a
specific band ?


Alex D.M.

Comments

  • edited June 2001
    I don't think you can save the band as an element with all of its children
    into a stream very easily. You could loop through the elements in the band
    and save them to a stream. See the code-based thread in the Tech-Tips
    newsgroup on looping through the objects in a band.

    There is a demo which dynamically loads subreports in your
    ../RBuilder/Demos/EndUser/DynamicSubReportLoading/


    Cheers,

    Jim Bennett
    Digital Metaphors


    "Alexandre Dur?n Mertens - Departamento Desarrollo - Computer Soft, S.A."
This discussion has been closed.