spartacus
26th September 2002, 16:37
How is it possible to skip/jump from a header layout to a new page?

Spartacus

evertsen
26th September 2002, 16:45
could you be more specfic as to what you are trying to do?

spartacus
26th September 2002, 17:50
Ok,

let's say you print a cover sheet, for a report. After this sheet is printed, I would like to start with a new page, regardless, how much text is printed on the cover sheet.

Hope that describes the prob a little better?


Thanks
Spartacus

evertsen
26th September 2002, 18:25
Put your "cover sheet" text into a before.report layout (this only prints once) then build the rest of your report making sure you include a header layout (even if it's blank). Whenever the header layout is printed, it will start on a new page.

Hope this helps,
Ev

spartacus
26th September 2002, 23:13
Hi,

I did it with a before report. But at the moment I use a "skip.to()" in a after.layout (from "before.report) instead of a header layout. Strange is, that page() doens't work at that place?

Anyway I think I will also check the variant with the header layout.

Thanks
Spartacus

RobertB
27th September 2002, 14:31
According to the Baan Tools help,

"You cannot use need(), page(), skip(), skip.to() or page.to() in header and footer layouts."
HTH