Chnage Detai.Visible on SecondPass
Hi,
We need to limit the amount of details printed to contain only info that fit
on one page. if more than one page of info exist we need to print only the
last lines. Was trying to accomplish this by counting the lines in the
FirstPass and then change the Detail.Visible property in the SeconPass
according to the line count.
Problem is that while the first page gets only the data I want, the second
page stays with the data it populated in the first pass.
-Jack
We need to limit the amount of details printed to contain only info that fit
on one page. if more than one page of info exist we need to print only the
last lines. Was trying to accomplish this by counting the lines in the
FirstPass and then change the Detail.Visible property in the SeconPass
according to the line count.
Problem is that while the first page gets only the data I want, the second
page stays with the data it populated in the first pass.
-Jack
This discussion has been closed.
Comments
During first pass, the pagination is calculated (i.e. the spaced used by
each object, the height of each band, what fits where). This cannot be
changed during the second pass.
You will need to pre-process the data and calculated how many details you
want to print, prior to generating the report.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com