Conditional Filter On Differents Fields

SYLV1GSYLV1G Member Posts: 93
Hello

I would like to filter by code on two different fields but i don't know if it is possible :

I need to filter some records if "Qty. to Ship"> 0 OR "Quantity Shipped" > 0

Rec.SETFILTER("Qty. to Ship",'> 0') OR Rec.SETFILTER(""Quantity Shipped",'> 0');

Thanks in advance for your help

SG

Comments

  • krikikriki Member, Moderator Posts: 9,118
    I am afraid it is not possible.
    You have to loop first with the first filter and then with the second filter. When you have found a record, "MARK(TRUE)" it and after looping both filters, you can MARKEDONLY(TRUE) to find both of them.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.