Hi, In my master-detail report I want to start a new page when the masterrecord including it's details do not fit on the current page. Can anybody tell me how to do this?
I don't want each Master-record on a new page. Just when the details of a certain Master-record do not fit on the current page, than the Master-record and it's details will break to the next page.
Attachments can be sent to support@digital-metaphors.com.
We are not aware of any issues with KeepTogether.
Check the Help | About box to determine which RB version you are using. If you are not using RB 10.07, try updating and retest. You can email your serial number and registration details to info@digital-metaphors.com to request download info.
Check that the subreport.PrintBehavior is set to pbChild. By definition a pbSection subreport will generate a page break.
If you would like to create a simple test project that we can compile and run here, you can send to support@digital-metaphors.com in zip format. Please use standard Delphi components and RB. Use the DBDemos data, or dump some of your data out to a TClientDataSet.
-- Nard Moseley Digital Metaphors www.digital-metaphors.com
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
Comments
Group.KeepTogether to True
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Just when the details of a certain Master-record do not fit on the
current page, than the Master-record and it's details will break to the
next page.
Define a Group that breaks for each master record.
Set Group.KeepTogether to True and Group.StartNewPage to False.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Please do not post attachments attachments to the newsgroups. Please follow
the newsgroup guidelines...
http://www.digital-metaphors.com/support/newsgroups.html
Attachments can be sent to support@digital-metaphors.com.
We are not aware of any issues with KeepTogether.
Check the Help | About box to determine which RB version you are using. If
you are not using RB 10.07, try updating and retest. You can email your
serial number and registration details to info@digital-metaphors.com to
request download info.
Check that the subreport.PrintBehavior is set to pbChild. By definition a
pbSection subreport will generate a page break.
If you would like to create a simple test project that we can compile and
run here, you can send to support@digital-metaphors.com in zip format.
Please use standard Delphi components and RB. Use the DBDemos data, or dump
some of your data out to a TClientDataSet.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Thank you very much for your answer, I will get in contact with support.