Hi,
I saw this thread
thread181-143786
and was wondering if there is a technique when you need to only print (or reprint) a report and have it begin at the last page number without having to rerun all the reports that precede it?
Example:
Report 1 Contains 10 pages
Report 2 should begin at Page 11 and it has 2 pages (Page 11, Page 12)
Report 3 should begin at Page 13 and has one page (Page 13)
Report 4 should begin at Page 14 and it has 4 pages (Page 14, Page 15, Page 16, Page 17)
Let's say I want to (re)print Report 4 because the data for that report changed, in that case, based on above, I would expect that the report would display Page 14 and the last page of the report would display Page 17. The other issue is that sometimes the prior reports may have a different number of pages, so that is why wouldn't be able to hard code the starting points.
The other technique ( I saw in a web search was similar but suggested as each report is run, pass the page number to a text box on a form and refer to the form to get the next page number. There again, that relies on having to run all the reports in sequence.
I suppose I may have to build a table and store the page counts there, but will need to figure out a way to properly sequence since if I or someone else runs a report on its own as there has to be a way to identify the sequence of what comes before and of course if new reports are added in between, then have to reconfigure the sequence.
Perhaps I'll continue to leave off page numbers to keep things simple as I've been doing.
I saw this thread
thread181-143786
and was wondering if there is a technique when you need to only print (or reprint) a report and have it begin at the last page number without having to rerun all the reports that precede it?
Example:
Report 1 Contains 10 pages
Report 2 should begin at Page 11 and it has 2 pages (Page 11, Page 12)
Report 3 should begin at Page 13 and has one page (Page 13)
Report 4 should begin at Page 14 and it has 4 pages (Page 14, Page 15, Page 16, Page 17)
Let's say I want to (re)print Report 4 because the data for that report changed, in that case, based on above, I would expect that the report would display Page 14 and the last page of the report would display Page 17. The other issue is that sometimes the prior reports may have a different number of pages, so that is why wouldn't be able to hard code the starting points.
The other technique ( I saw in a web search was similar but suggested as each report is run, pass the page number to a text box on a form and refer to the form to get the next page number. There again, that relies on having to run all the reports in sequence.
I suppose I may have to build a table and store the page counts there, but will need to figure out a way to properly sequence since if I or someone else runs a report on its own as there has to be a way to identify the sequence of what comes before and of course if new reports are added in between, then have to reconfigure the sequence.
Perhaps I'll continue to leave off page numbers to keep things simple as I've been doing.