morpheus
28th October 2002, 08:15
Hello,
I am customizing a standard report. I need to print the totals & some text, in the new customized report. So, I have used the AFTER.FIELD section. But, I also want that layout to be printed at the bottom of the page, i.e., where ideally the FOOTER layout is printed!!
Any ideas...!?
Also, note that I do not have the source code.

Paul P
28th October 2002, 08:43
Dear morpheus,

You can use the function skip.to(line.number) at the after.field:before.layout section

Rgds,
Paul

morpheus
28th October 2002, 09:24
Dear Paul,
I did consider that option. But, the point here is that I do not know at what point the field is changing. It could be the at the end of the page, at the beginning or anywhere in the middle of the page!! So, in a such a scenario I can not hard code the number of lines to be skipped!!

Paul P
28th October 2002, 09:41
Dear morpheus,

Yes, and that's exactly why Baan provides the function skip.to(line.number). You can for example issue skip.to(spool.pg.length-9) to skip to the 10th last line.

You should use skip.to(line.number), not skip(number.of.lines).

Rgds,
Paul

morpheus
28th October 2002, 10:58
I'll try skip.to(spool.pg.length-n). I think it should work.
Anyway, thanks...