Can anyone think of a way (CRXI) to delete a report based on the number of pages?
For example, I have a mail merge that brings in various subreports and shows different detail depending on the data. So my single report may have 6 pages for client#1 and 9 pages for client#2 -- all in the same document (so I can just print them all at once). If I only wanted to keep those that had 10 pages (or only run those with 10 pages)--is there a way to do that?
I guess I could set up a shared variable in the beginning to count pages and increment that variable with each page added and then see the total at the bottom of the client output (easy to say but I'm not too sure how to execute). If I could get that to work, how would I go about deciding whether to show the group header/detail/footers if the ending pages <>10 ?
Thanks.
Dave
For example, I have a mail merge that brings in various subreports and shows different detail depending on the data. So my single report may have 6 pages for client#1 and 9 pages for client#2 -- all in the same document (so I can just print them all at once). If I only wanted to keep those that had 10 pages (or only run those with 10 pages)--is there a way to do that?
I guess I could set up a shared variable in the beginning to count pages and increment that variable with each page added and then see the total at the bottom of the client output (easy to say but I'm not too sure how to execute). If I could get that to work, how would I go about deciding whether to show the group header/detail/footers if the ending pages <>10 ?
Thanks.
Dave