
I want to loop over a collection and in the end of a loop it will remove the the current record from the collection and move on to the next record, when i use
forAll and Remove in the same forAll it says that remove can not have the same data source as froAll, what can i do do achieve what i want?
my main objective is to loop over a collection and get their values( First(Collection).Value ), is there a better way to do this ?
Hi @GTurkistane ,
Could you please share more details about your scenario? What do you mean by remove current record? If you would like to get values from a collection then clear it, the formula is simple:
ClearCollect(col2, Collection1.Value); Clear(Collection1)
Best regards,