In the sections Introduction to datasets up to and including Using the dataset II we created a model that will be used here. If you haven’t done these, it is highly recommended to do so.
Jumplists can help you and the end user to keep track of where you are in the application. To make your application more organized, as well as a little easier on the eye, we will jumplists to the nodes. The repeat logic keeps track of how many times it is used in the jumplist window, but as soon as you start to enter more than five employees, the overview that you gain with jumplists is quickly lost. To bring back that organization, we can give each employee a number.
In order to add repeated actions you will have to follow a particular sequence. The first thing you will have to do, is to add the repeat logic itself. You can do this by clicking Actions > Repeat in the menu. For now, add a counter by the name of counter, as it basically counts the number of times that we are repeating. Press [OK]. The Actions window now shows a flow statement fenced off by two items in the list: repeat … until. Actions that you will later on insert between those two will be repeated.
In this part, you’re going to learn another trick that can be of great use in the making of models: repeats. We advise you to finish the guided tour first. It is also advisable to be familiar with model structure.