A
Alexcamp via AccessMonster.com
I have a report that displays invoices for given customers. The report is
grouped by customer.
Sometimes the invoice details (subreport) spans across a second page. I have
got all headers & page footers to repeat on that second page so this works
fine. What I want is to hide the Main Reports Page footer if the Subreport is
spanning on a second page. Hide it on the first page (for that group only)
and display it only on the last page (usually the second page... but hey.. it
could even be the third!).
I CANNOT use the [page] and [pages] event because sometimes the report prints
multiple invoices for different customers (such as when the invoices batch
are created) and sometimes it prints a single invoice only.
If I were to only print a single invoice I would simply use: IF [page]<[Pages]
then me.section(pagefooter).visible = false
But since I print multiple invoices, the customer with a "2 page invoice" can
be right in the middle of a 10 invoices report.
Does anyone have any ideas ?
grouped by customer.
Sometimes the invoice details (subreport) spans across a second page. I have
got all headers & page footers to repeat on that second page so this works
fine. What I want is to hide the Main Reports Page footer if the Subreport is
spanning on a second page. Hide it on the first page (for that group only)
and display it only on the last page (usually the second page... but hey.. it
could even be the third!).
I CANNOT use the [page] and [pages] event because sometimes the report prints
multiple invoices for different customers (such as when the invoices batch
are created) and sometimes it prints a single invoice only.
If I were to only print a single invoice I would simply use: IF [page]<[Pages]
then me.section(pagefooter).visible = false
But since I print multiple invoices, the customer with a "2 page invoice" can
be right in the middle of a 10 invoices report.
Does anyone have any ideas ?