Home Subreports

Multiply Subreports

edited December 2002 in Subreports
Hello,

I have a base tform thas has one ppreport with one subreport (main
subreport), and inside this one other subreports, with some data-ware
components.

When i derive a new form from this base form, i would like to print the
main subreport a number f times only knew at runtime, each one with a
diferent dataset but all with same filelds.

Loading templates it's not a good choice for me.

I know how to create sub reports by code, and how to create the fields,
labels and others on it, but there isn't some way i can 'copy' the
subreport?

Thanks in advance,

Artur Azevedo

Comments

  • edited December 2002
    Why do you think templates are bad for you?

    I would use templates and steer away from form inheritance. You can't mix
    them either. Templates are how you would approach copying a subreport. There
    is a cool dynamic subreport loading example in the installed
    RBuilder\Demos\EndUser\ directory that you can look at if you have RB
    Professional or Enterprise.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.