You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

SQR NEW-REPORT and the internal page counter reset

2 replies [Last post]
Guest's picture

I have an SQR program that produces 2 reports, which I would like to use NEW-REPORT to dynamically name the output. The output is generated for each report simultaneously, meaning I have to write to each report with each record in the query. I don't write one report, finish it, then write the second.

I've read elsewhere that NEW-REPORT will reset the internal page counter on the reports when executed. I think this is why my output is only giving me one record, as opposed to my sample of 3.

Does anyone know how to suppress this internal page counter with NEW-REPORT, or dynamically name output without NEW-REPORT?

Any suggestions would be greatly appreciated.

Guest's picture
Guest (not verified)
Re: SQR NEW-REPORT and the internal page counter reset

Would be helpful to analyse if you could provide the code.Thanks in advance.

ps_techie's picture
User offline. Last seen 6 years 19 weeks ago. Offline
Joined: 08/16/2011
Posts: 1
Re: SQR NEW-REPORT and the internal page counter reset

Pls provide the code so that I can analyse it.

Post new comment

The question below is to prevent automated spam submissions.
12 + 4 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.