Hi
I want to save Document No in an array . If document no already exists then it should not be added in Array.
Thanks
*This post is locked for comments
Hi
I want to save Document No in an array . If document no already exists then it should not be added in Array.
Thanks
*This post is locked for comments
Closed
Hi,
You can declare a boolean variable named 'ValuePresent'
You need to code in the following manner:
ValuePresent := FALSE;
FOR i := 1 TO n DO
BEGIN
BEGIN
IF array [i] = Rec.Document No THEN
ValuePresent:=TRUE;
END
IF ValuePresent:=False
array [i] := Rec.Document No;
END;
Here 'n' is the size of the array
Sohail Ahmed
2
mmv
2
Amol Salvi
2