loromanuk
14th December 2015, 07:06
i have a data at report :

item A 1000
item B 2000
item C -3000

i want to hide the item C (negative amount) and the report like this :

item A 1000
item B 2000

thanks before

mark_h
14th December 2015, 15:36
If the layout is the same for each item(ie, a detail layout) then set the layout print expression to something like qty>0. This would only print the positive quantities.

loromanuk
15th December 2015, 03:27
If the layout is the same for each item(ie, a detail layout) then set the layout print expression to something like qty>0. This would only print the positive quantities.

i've found the answer
i'm try to give a lattr.print at after.field and beforelayout

after.field.1:
before.layout

if statement then
lattr.print = false
else
lattr.print = true
endif

thanks you...

benito
15th December 2015, 14:54
looks like you do have the same layout. in mark's solution you don't need a report script. in yours, you do.