Multiply 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
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
This discussion has been closed.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com