Hi
In Array How to Add Value to the next of last Value . I have below code. I want if Account No not found n array then it should be appended to the array.
Below is he code on after get record
ctr := 1;
WHILE (Ctr <= 10) DO BEGIN
IF AccountName[Ctr] = GLEntry."G/L Account No." THEN BEGIN
AccountValue[Ctr] += GLEntry.Amount;
found := TRUE;
END;
Ctr += 1;
END;
Thanks
*This post is locked for comments
I have the same question (0)