Hello,
Within a for each loop I alter the same database table with a buffer on the table. Adding a sort order number with one.
It look like the altered items are processed more than once within the for each statement.
Is there an option on the for each loop so the selected records only processed once within the loop?
Kind regards,
Peter
Hi Puneet,
Thank you kindly for this.
I have adjusted the FOR EACH to DO PRESELECT EACH statement.
After that FIND FIRST and DO WHILE AVAILABLE .... NEXT... END construction.
This works nice.
Kind regards,
Peter
Hi Puneet,
Thank you kindly for this.
I have adjusted the FOR EACH to DO PRESELECT EACH statement.
After that FIND FIRST and DO WHILE AVAILABLE .... NEXT... END construction.
This works nice.
Kind regards,
Peter