Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 26 JUL 2004 04:04:04PM Todd Hames wrote:

Is anyone aware of a way to display multiple reports within OIPI preview?

If there were some way to change the page# in the header I could do this through code, but can't figure out a way.

Thanks for any help or idea's anyone has.


At 26 JUL 2004 04:56PM Donald Bakke wrote:

Todd,

Are you trying to append multiple reports in one preview session? If you don't mind rolling out your own page counter then you could do this. Of course, this requires that each report use the same INIT settings (i.e. pagesize, margins, orientation, etc.)

dbakke@srpcs.com

SRP Computer Solutions, Inc.


At 26 JUL 2004 07:16PM Todd Hames wrote:

Yes, that would be great … all reports in the preview have the same pagesize, etc. The reports are all dealing with the same thing, just different data (ex. new contracts/records, contracts/records put on hold, etc). If there were some way to reset the page number and do a page break to start a new page of reports. My understanding is I can change the text heading mid way throught the report, just not sure how to change page number & do a page break.


At 27 JUL 2004 03:21AM Donald Bakke wrote:

Todd,

You can issue a page break at will with a Set_Printer("PAGEBREAK") command. If you are using the HEADER or FOOTER message then I'm not sure how to change the page number midway through the report. This is why I suggested you should roll this out yourself. Just do your own page count tracking and this problem will go away.

dbakke@srpcs.com

SRP Computer Solutions, Inc.


At 27 JUL 2004 01:22PM John Bouley wrote:

There is a system variable called @Page. Have you tried setting this?

Not sure if it would solve your problem but its worth a try.

HTH,

John


At 27 JUL 2004 06:33PM Todd Hames wrote:

John,

Thanks for the idea … tried using @page before and after using set_printer HEADER, didn't make any difference.


At 27 JUL 2004 06:43PM Todd Hames wrote:

Donald,

Thanks for your help … duh … use PAGEBREAK … you know you are working to long and to late on something when you look through all set_printer msgs and never see PAGEBREAK !

I was trying to avoid doing my own header by keeping a count of each line, because it would be easier to maintain with changes later on. But that is an option, again thanks for your help.

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/e4f05f8d0caa2dbe85256edd006e3c52.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1