Fixed area subreport
Hello RB gurus!
I have (RB 7.02 D5 end-user report app) a master-detail report
which contains various details subreport.
One of these must fit in a fixed area.
In case of overflow the subreport must complete on a new copy
of the module.
(the report should be go on a new page, *reprinting
the master (as well footer, header) sections*)
Which is the simplest way (if any) to achieve this behaviour?
Thanks in advance
Bye
Nicola
I have (RB 7.02 D5 end-user report app) a master-detail report
which contains various details subreport.
One of these must fit in a fixed area.
In case of overflow the subreport must complete on a new copy
of the module.
(the report should be go on a new page, *reprinting
the master (as well footer, header) sections*)
Which is the simplest way (if any) to achieve this behaviour?
Thanks in advance
Bye
Nicola
This discussion has been closed.
Comments
Are you using a Fixed style subreport or does it just need to fit in a fixed
area? If you are using a Child style subreport, try setting the
KeepTogether property to True. If you are using a Fixed Style subreport,
place the entire subreport inside a region with its KeepTogether property
set to True.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
One more thing I forgot... You may also want to try using the
Subreport.TraverseAllData property. This will cause the subreport to
continue printing (on additional pages in the same exact position) until all
data is traversed.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
(Sorry for the delay...)
I tried. The subreport keeps printing on the next page but the other
sections of the report does not repeat.
What I need is very simple. I have, for example, name and surname in the
header and, below, my fixed area subreport.
If the data in the subreport overflows, I need to continue in another
page BUT I need also that name and surname get re-printed!
Since this is an end user app, I am looking for a way to do this without
coding (if possible)
Are the name and surname fields in the report header, group header, or the
header of the subreport? Which type of subreport are you using (ie. Child,
Fixed, Section)?
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
The report has only a detail band in which stay 15 subreports.
Several of these subreports may overflow. In case of overflow the entire
detail band should be re-printed as it is (a part form the subreport
overflowing, obviously).
The guilty subreport is a child type.
Maybe this is not the optimal structure for this requirement (I am a rb
newbie, as you can see..) ?
Which is the best one to adopt?
Try creating a Region and see if that works better for you. Place the Name
and Surname inside the Region. Set Region.ReprintOnOverFlow to True. Then
create the subreport below the region. Put the Region and Subreport in the
detail band. You can do this for each subreport if you need.
DetailBand
Region - set ReprintOnOverFlow to True
Name
Surname
Subreport
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com