Roeland
5th January 2009, 16:00
At the moment I have 2 custom report's.
The first report is a summary report and the second are the details.

I'm trying to merge these 2 reports in 1 new report.

I tought this would be easy by just make a copy of the details report and add an extra before.field layout.

Put I can't get this layout on a single page. Is this possible?

Is it possible to display a before.field on 1 page?

I tried this, but it doesn't work:

before.summarypage.10:
after.layout:
page()

mark_h
5th January 2009, 19:34
Not sure I understand? If your sort field is orno then the before field should be on page 1. Are you saying you want the before field to start on a new page? Did you check the page button on maintain layouts?

Roeland
6th January 2009, 09:45
I've attached a screenshot.

I want before.vrachtwagen.20 on a single page
then before.vrachtwagen.30 on top of the next page together with before.leverdatum.40 and the details.
Then again a new single page with before.vrachtwagen.20 ....

This isn't working:

before.vrachtwagen.20:
after.layout:
page()


Thanks

assassinator
6th January 2009, 10:10
I can't get you point. "Isn't work" means the function page() isn't work? Or you had used page(), but the output isn't what you want?

According to your description, you should add an after.field to control.

after.vrachtwagen.10:
before.layout:
page()

Roeland
7th January 2009, 09:50
I can't get you point. "Isn't work" means the function page() isn't work? Or you had used page(), but the output isn't what you want?
The function page() isn't working.

assassinator
7th January 2009, 10:14
The function page() isn't working.

Er, I use the function all is right. No need to use pragma statement.


before.tdilc101.item.30:
before.layout:
lattr.print = false
...
after.layout:
page()

Roeland
8th January 2009, 14:38
The page() function does work for me in a detail layout.
I changed the script and I placed everything in detail layouts with output expressions.