arunkw
4th March 2003, 13:24
Hi Guys,
In one of the Report few Layouts are getting repeated
what are the various possible reasons?
so that I can trace it and rectify the problem.

Thanks
Arun

zardoz
4th March 2003, 13:34
The reasons could be some of this:

- a layout cannot be greater than 22 lines, so you have to do multiple layouts.

- a print condition is put on the layout, by example:

detail 1 print only if det.type = "ON"
detail 2 print only if det.type = "OFF"

evesely
4th March 2003, 15:55
Is layout.again() being using in an after.layout subsection of the report script? This will cause the layout's expressions to be reevaluated and (possibly) printed again.

BaanTech
4th March 2003, 19:23
It could also be possible that you are sending the details more than once via the program. The values you are reporting could
be the same, but the contents of the record(s) selected may
be different.