sandeepsharma
17th March 2009, 09:01
Hi All,

How can we suppress the before.field section in report till the time we get new record.

eg. we have sales order header in before.field and sales order lines in details section, now we don't want it(sales order) to repeat in each page till we get a new sales order.



----------:confused:
sandeep

wiggum
17th March 2009, 11:46
You can check lattr.break as this is true during a sort field change and false during a page break.

sandeepsharma
17th March 2009, 12:15
I have already tried this but didn't get positive result.

lattr.break is a read only varibale we can't assign any value to it .

rahul.kolhe22
17th March 2009, 13:05
Hi Sandeep,
Assign false to the predefined variable lattr.print in the
before.<field name>.<layout_number>:
section when the layout is not required. This will not print the respective layout on the report.

Hope it helps.

Regards,
--Rahul

bigjack
17th March 2009, 15:30
set the predefined variable lattr.autobefores to false in report script.