First create a formula {@linecount}:
whileprintingrecords;
numbervar line := line + 1;
Place this in every group header and footer section and also in the detail section (Do NOT add the line number formula to the detail_b section that you will be inserting below). Then check to see what the linenumber is for the last record on page 50. Let's say it is 2000.
Next go to format section->details. Insert a details_b section and format "suppress blank section" with the following formula:
remainder({@linenumber},2000) <> 0
Then for BOTH "New Page After" and "New Page Before" for detail_b enter:
remainder({@linenumber},2000) = 0
You should now have a blank page after every 2000 records.
If you want the summaries on this page to be running subtotals, then use the running total editor to add the relevant subtotals, using {table.amount}, sum, evaluate for each record, reset never.
If you want the summaries to reset after the summary page then you will need to use formulas like the following:
whileprintingrecords;
numbervar amt;
if remainder({@linenumber}, 2000) = 1 then
amt := {table.amount} else
amt := amt + {table.amount};
amt;
-LB