ben.kansas
11th November 2014, 00:02
Hi All,

I want to supress a layout on a report until the next record in the seq indicates that the item group is different from the current item group.

Is there a way to peek at the next record in the Report Seq file from the Report Script (program script is unavailable)? Preferably without advancing the position in the file.

Thanks,
Ben

bhushanchanda
11th November 2014, 11:12
Hi,

You can create a before.field layout for that field which. So, it will print only when changed.

Also, if you want other way, you can use combination of on.change.check(field_name) and if changed(field_name). Now, if the field is changed, suppress the layout using lattr.print = false.

vamsi_gujjula
11th November 2014, 13:04
can be done using report script as well as the way bhushan suggested ..

checking Nth record with N-1th will also give you the same.... ie print Nth record if N-1th record group is diff. else skip ..

ben.kansas
12th November 2014, 01:14
Thanks for your help, guys. You got me going in the right direction.