Multiple reports in one preview file

Hello,

I have many different reports that a user could ‘batch’ into one comprehensive report. I’ve figured out a way to get all the reports of the batch into one preview file (using LlStgsysAppend), but the formatted page numbers will of course re-start at 1 for each different report within the batch.

Does anyone know of a way to get the starting page numbers to vary on the second and subsequent reports in a batch?

Or does anyone know of a better approach? If report A goes from page 1 to 6, and Report B goes from 1 to 4, is there a way you can think of that I can create Report AB that goes from page 1 to 10?

Thanks,

Jim Adam

I doubt there’s a way unless you do that at print time (set the
starting page using LL_PRNOPT_PAGE after LlPrintStart() in the
consecutive reports).

Paulchen

“Jim Adam” <jimadam@rpm…> wrote in message
news:24825220200803317@combit.net…

Hello,

I have many different reports that a user could ‘batch’ into one
comprehensive report. I’ve figured out a way to get all the reports
of the batch into one preview file (using LlStgsysAppend), but the
formatted page numbers will of course re-start at 1 for each
different report within the batch.

Does anyone know of a way to get the starting page numbers to vary
on the second and subsequent reports in a batch?

Or does anyone know of a better approach? If report A goes from page
1 to 6, and Report B goes from 1 to 4, is there a way you can think
of that I can create Report AB that goes from page 1 to 10?

Thanks,

Jim Adam