IF Select THEN BEGIN SalesLine2.SETRANGE("Document Type","Document type"); SalesLine2.SETRANGE("Document No.","Document No."); SalesLine2.SETFILTER("Line No.",'<>%1',"Line No."); SalesLine2.SETRANGE(Select,TRUE); SalesLine2.MODIFYALL(Select,FALSE); END;
Answers
Many thanks for your answer. this solution worked out perfectly
Cheers
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!