AW: O$8.0.3.2 : Print new page

Rudolf Bargholz rudolf at bargholz.ch
Fri Nov 23 05:13:03 EST 2018


Hi,

You have many options. Here two.

1) 
Begin print job
Print report A
Print report LastPageReport
End print job

A print job combines the printing of more than one report into one block. Your separate report "LastPageReport" would simply print your last page, and you could pass the values you need to that report.

2) In the Report footer section of your place a positioning section, and set $pagemode to kNewPage. This will trigger a new page in the report, and any information following the positioning section will print on the last page. 

You can also make this dynamic, using the following trick. In the Report footer create two positioning sections. In the first ($name: POSNEWPAGE), create a $print method, and put the following code in this method:

If iFlagNewPage
  Calculate $cinst.$objs. POSNEWPAGE1.$pagemode as kNewpage
End If

The second positioning section ($name: POSNEWPAGE1) will then be assigned an appropriate $pagemode and the fields following POSNEWPAGE1 will print on a new page. We use this to allow a user to define on their own how the information on the report will be printed with respect to new pages in the Report footer.

Regards

Rudolf Bargholz

-----Ursprüngliche Nachricht-----
Von: omnisdev-en [mailto:omnisdev-en-bounces at lists.omnis-dev.com] Im Auftrag von A Blanchard via omnisdev-en
Gesendet: Freitag, 23. November 2018 08:08
An: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
Cc: A Blanchard <infomni at yahoo.fr>
Betreff: O$8.0.3.2 : Print new page

 Hello
I need to add a page after my report (that contains always only 1 page) with minimum changes in my existing report .It contains :page headerrecordpage footer I tried this :set printif parameter in my page header section : #P=1add  2 kpositioning section in my page footer section with a different printif parameter :#P=1#P<>1 but It doesn't work Can you help me please ?
Thanks
_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 


More information about the omnisdev-en mailing list