Tag: How to use FOR-TO loop statement in Microsoft D365

How to use FOR-TO loop statement in Microsoft D365

Use FOR-TO loop statement in Microsoft D365: Definition of “FOR-TO”:  Repeats the inner statement until a counter variable equals the maximum or minimum value specified. Syntax: “FOR-TO” statement- FOR <Control Variable> := <Start Number> TO <End Number> DO    <Statement> Let’s take an example- Assign a value to the ARRAY variable according to the number of records …