A
anthony
I have a report (let's call it rptMain) which contains a subreport
(let's call that rptSub). rptMain has a header which always contains
data. rptSub is placed in the detail section of rptMain. rptSub may,
or may not contain data. I need to instruct rptMain not to print any
pages where rptSub contains no data. I've seen from past postings that
if a subreport contains no data, then it doesn't actually exist which
would make it difficult to check whether a field in rptSub had
anything in it. I don't know whether it's possible to check for the
existence of data/controls etc within the detail section of rptMain.
If it is, I don't know how to do it. Having, somehow, determined that
a particular page produced by rptMain had no data in its detail
section (ie in rptSub), I then need to know how to prevent that page
from printing - perhaps through the page.visible property?
Advice very gratefully received. Many thanks
Anthony
(let's call that rptSub). rptMain has a header which always contains
data. rptSub is placed in the detail section of rptMain. rptSub may,
or may not contain data. I need to instruct rptMain not to print any
pages where rptSub contains no data. I've seen from past postings that
if a subreport contains no data, then it doesn't actually exist which
would make it difficult to check whether a field in rptSub had
anything in it. I don't know whether it's possible to check for the
existence of data/controls etc within the detail section of rptMain.
If it is, I don't know how to do it. Having, somehow, determined that
a particular page produced by rptMain had no data in its detail
section (ie in rptSub), I then need to know how to prevent that page
from printing - perhaps through the page.visible property?
Advice very gratefully received. Many thanks
Anthony