Filter for non-zero values

jks
jks Member Posts: 277
Hi all,

How can I set filter for non-zero values?
i.e I want to filter all Sales Lines whose Qty. to Ship is non-zero
I tried with
SalesLine.Setrange("Qty. to Ship",<>0)
SalesLine.Setrange("Qty. to Ship",'<>'0)
SalesLine.Setrange("Qty. to Ship",'<>0')

but no luck.

Thanks for any help.

Comments