Think before you loop records

One of the greatest feature of Servoy is that, you can directly interact with the database by using Servoy’s built-in data binding for creating/modifying/editing/searching records using a particular form. This Tip will address one of the important things while looping through the records of your form.

We can modify/update the record data of a form by looping through its records. So, we are generally following the below code to do the same.

// loop through the records

var count = 1;

var maxCount = controller.getMaxRecordIndex();

for(var count=1; count

150 150 Burnignorance | Where Minds Meet And Sparks Fly!