I'm passing lines from SO to a destination form. I have created a method where I'm assigning values from SO lines in for loop in destination form dataSource which I call from initValue. Here is the code sample:

```
for (counter = 1; counter <= conLen(c); counter++)
    {
        salesLineLocal = conPeek(c, counter);
        ttsBegin;
        .........
        table.doInsert();
        ttsCommit;
    }

```

When initialization is done and form opens I see only 1 line despite of let say 3. but when I press F5 all lines are shown correctly.
So, what I'm doing then is to refresh table\_ds by code after for loop.
I tried table\_ds.research(); but did not help. Then I tried element.task(#taskF5); but neither it hepled.
What is the correct method to override on form and put code there, so that the lines appear with form opening?

Thanks.