Hi,
I have a problem with a report with many layouts.
I have more before.field and they show on page #2 however the footer does not make it to show.
Somehow i figured out that I need to get to the next page by calling either page() or to.page(3). However, the remaining before.field layouts do not show even if i set the expression lattr.pageno=3
If I set the expression to the first I want to appear on page #3 it is displayed on page #1.
I am not sure that page() is the same Next page checkbox on layout attributes.
Code:
before.orco.43:
before.layout:
if cntr=1 then
lattr.print = false
endif
|#14092023.sn
|after.layout:
| if cntr=2 then
| to.page(3)
| lattr.pageno = 3
| endif
|#14092023.en
before.orco.44:
before.layout:
|message("cntr %d", cntr)
if cntr=1 then
lattr.print = false
endif
|#14092023.sn
if cntr=2 then
| message("page %d", lattr.pageno)
to.page(3)
| lattr.pageno = 3
lattr.print = true
Recap... I need to print the footer on every page.
How do i do that?