08-19-2019 01:08 AM
Coming from the "developer" world, coding with loops for me is just basic ABCs. When I was faced with a situation where I needed to process the equivalent in a Canvas App, I just couldn't find anything close to a "For While", "Loop until" or similar type of function or code.
So, I figured the best approach would be to build a sample screen where I'd demonstrate the way to get this working for any "Citizen Developer" to be able to implement such a feature when they come in need of processing a functionality multiple times in a row.
More details in my blog: https://powerdiver.blogspot.com/2019/07/loop-in-canvas-app-dive-in-from.html
watch?v=apFIRmk-y4g&t
Looping is now easier you can use Loop or Sequence. Here is an example to make a simple times table for fives from 1 to 10 in a collection:
ClearCollect(colSeq, ForAll(Sequence(10,1,1),{Number: ThisRecord.Value, Calculation: "5 X " & ThisRecord.Value & " = " & ThisRecord.Value * 5}));