I have a report that I am trying to print that adds blank lines if the number of records on a page is less than 24. The report work perfectly on screen but when I send it to the printer it prints thousands of extra pages. (I test it be printing to a pdf printer which I cancel once I see the page count start to climb.) I am using some code I found online that was written by Danny Lessandrini and I have begun to make modifications to fit my needs.
Why is it not printing correctly? I can't find where the code is getting stuck in a loop. This one has me stumped.:banghead:
Why is it not printing correctly? I can't find where the code is getting stuck in a loop. This one has me stumped.:banghead: