Hi
Is there a simple way of associating a page break with a control, so that if the control (in this case sub-report) shifts to take the place of another 'shrunken' control, the page break moves with it?
I have a series of sub-reports each with a page break directly after it. If the data for a given sub-report is blank, I'm making that sub-report invisible (and making its associated PageBreak invisible), and its Shrink property is set to Yes so that the next sub-report slides up to take its place. Unfortunately, although the remaining sub-reports are sliding up fine, their page breaks seem to retain their original position, and so start cutting the report in weird places.
Any ideas how to get round this?
Matthew
Is there a simple way of associating a page break with a control, so that if the control (in this case sub-report) shifts to take the place of another 'shrunken' control, the page break moves with it?
I have a series of sub-reports each with a page break directly after it. If the data for a given sub-report is blank, I'm making that sub-report invisible (and making its associated PageBreak invisible), and its Shrink property is set to Yes so that the next sub-report slides up to take its place. Unfortunately, although the remaining sub-reports are sliding up fine, their page breaks seem to retain their original position, and so start cutting the report in weird places.
Any ideas how to get round this?
Matthew