SDerrick
9th June 2003, 15:24
I am writing a report in 4C4 and begin the layout with 3 detail lines. This gives me a blank page before printing the detail layouts.

Does anyone know a way of preventing the blank page from printing?

Many Thanks

Simon

baraja
9th June 2003, 17:05
hi

in a maintain report layouts try to put a click in page field of header layout.

good luck

SDerrick
9th June 2003, 17:36
Thanks, but I don't have a header layout. Is this essential.

I only have 3 detail layouts

mark_h
9th June 2003, 19:14
In the maintain layouts section do any of the details have page turned on?

Mark

SDerrick
10th June 2003, 12:07
Yes the first detail line has to always start on a new page.

dorleta
10th June 2003, 12:46
you can force a new page with the intruction page() of a manual way

mark_h
10th June 2003, 14:52
The way dorleta mentioned is what I would use. You could put page() in the after layout section of the third detail using the report script.

The other method I have used was to insert a blank layout, with page checked and with a output expression with something like first. Then in the report script set first to false on the before program section. Then in the first detail section that you print you could set first to true. Then every time after that the first detail would print.

Good Luck!

Mark

SDerrick
12th June 2003, 18:16
Cheers All.

I put in a blank header section and it sorted it.