Hi
I have a report with several subreports on it. When on one of the records
on the subreport crosses two pages it prints the titleband on the first
page and then part of the record on the second page.
I'd like it to print the title on the second page too.
Cheers
Comments
Try setting subreport.KeepTogether to True.
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
I've tried this but it doesn't work.
I'm getting a group of records which will fill more than one page. If one
record happens to fall at the foot of the page it will print what ever it
can on first page and then the rest on the second page.
I'm trying to keep "whole" records together
Any ideas?
cheers
Andy Law
I am unclear about what you would like your report to look like. If you
have the KeepTogether property set to True for your subreports, the title
band will then move to the next page, essentially keeping the subreport
together. If then the entire subreport is too large to fit on one page, it
will have to go to the next page. Are the records printing on the next page
when there is still room left on the first page?
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
The subreport starts on a new page. However if the subreport has a greater
number of records that will fit on one page, I end up with a split record.
Is it possible to make RB keep the entire record together, even if it means
leaving "white space" at the bottom of the page
This is what I'm getting
SR page 1
record1
name
address
address
address
_____________________________________________________
record2
name
address
address
address
____________________________________________________
record3
name
address
address
address
_____________________________________________________
record4
name
address
end SR page1
SR page 2
address
address
________________________________________________________
record5
name
address
address
address
________________________________________________________
record6
name
address
address
address
_________________________________________________________
I'd like it to do the following
SR page 1
record1
name
address
address
address
_____________________________________________________
record2
name
address
address
address
____________________________________________________
record3
name
address
address
address
_____________________________________________________
// the next record is going to cover two pages so move the whole record to
the
// next page
end SR page1
SR page 2
record4
name
address
address
address
________________________________________________________
record5
name
address
address
address
________________________________________________________
record6
name
address
address
address
_________________________________________________________
I hope this explains it better
Cheers
Andy Law
You should be able to do this using a group with its KeepTogether property
set to True. The group should be set up to break on each record and you
should be able to still use the same subreport you already have on your
report. Below is a small example of what I'm talking about. Hope this
helps.
http://www.digital-metaphors.com/tips/BasicMasterDetail.zip
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com