Hi
I have below code and it gives above error . Secondly if found then want to exit from the loop.
ValuePresent := FALSE; FOR i := 1 TO 10 DO BEGIN BEGIN IF ArrReceipt [i] = "Purch. Inv. Line"."No." THEN ValuePresent:=TRUE; END IF ValuePresent:=False ArrReceipt [i] := "Purch. Inv. Line"."No."; END; message('%1',ArrReceipt[i]);
Thanks
*This post is locked for comments