Hey,
Is it possible to skip a record in a loop? For example in a C# loop you can run continue and the loop skips the current element. Does BC support something like this?
Would be nice :)
Kind Regards,
Dominic
Hi Dominic,
If the loop you're in is from a report, in the "OnAfterGetRecord" trigger, you can use the "CurrReport.SKIP".
If you are using it in any other place, you can simply set the condition that you want to skip on as a filter and iterate as you usually would.
Sohail Ahmed
2,689
Super User 2025 Season 2
Sumit Singh
2,631
Jeffrey Bulanadi
2,212