Notifications
Announcements
No record found.
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,
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
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
Closed
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.