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 21 APR 2009 03:34:31PM Jose Dominguez wrote:

We are converting all reports of our system, but we need to know if there is a function or property to know when the report send a new page to OIPI.


At 21 APR 2009 04:07PM dbakke@srpcs.com's Don Bakke wrote:

Jose,

I don't quite understand your question. I'll try to give you some responses in hopes that it will help.

If you need to force an OIPI report to move onto a new page then you can use the PAGEBREAK message of the Set_Printer function.

If you are trying to determine where you are on the current page in order to know when a new page should be created you can use the POS message to get the vertical position. You can use this in combination with other messages like CALCTABLE and CALCTEXT to pre-determine how much additional room you'll need to print the next block of text.

If you are trying to get notified when a new page has been created within a report then you'll have to do that yourself. Virtually all of our reports are written so that *we* control the flow. Using the messages described above helps us predict when a new page is required so that we can then react accordingly.

dbakke@srpcs.com

SRP Computer Solutions, Inc.


At 22 APR 2009 03:27PM Bob Orsini wrote:

In paramter 9 of the init command you can have the report execute a program prior to or after each page break.

View this thread on the Works forum...

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