General information
Category:
Reports & Report designer
Cathy - I downloaded your 2 articles and the sample code quite some time ago. Now for the first time I'm trying to make the pagination work per your sample but although it runs OK I am still getting a group split over 2 pages. Was there an errata or problem with the code originally posted?
I did notice a couple of spots where the code was different than that shown in the article. But it doesn't work either way.
Thanks
*********************************
>In VFP 9, this can be done with a ReportListener and I show how in my whitepaper on the MSDN website. However .. I'm guessing you need a solution for a previous version. If you can make an assumption about the maximum amount of room needed for each detail band, you can do this...
>
>1. Create a data group with an expression of RECNO().
>2. Set the data group to start a new page when less than ?? inches.
>
>Cathy
>
>
>>Is there a way to keep a detail band together on the same page so it does not split and flow over onto a second page?
>>
>>I have a report with a tall detail band of about 1/4 page height. Thus after the headers I normally get 3 records per page. If some of the data associated with the early records causes the controls to stretch, it forces a portion of the last record to split and run over onto the next page. I'd like to avoid this behaviour and start a new page if there is not enough room for the entire record. Any ideas on how to do this?
>>
>>Thanks for any help.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only