Hi @Eduard99 ,
Thanks for the clarifications 😉 !
Indeed, you can't Set a varaible in a loop though, you can achieve similar functionality by using other functions such as Collect, UpdateContext, or Concatenate within the ForAll loop.
Could something like that works for you ?
ClearCollect(
myCollection,
Gallery1.AllItems
);
ClearCollect(
myVarCollection,
ForAll(
myCollection,
Concatenate(
"Some text ",
ThisItem.FieldA,
" other text ",
ThisItem.FieldB,
Char(13) // This adds a line break after each concatenation
)
)
);
T