I'm using the foloving script to add new rows to my tabl:
var nTableLength - Table1.nodes..length;
var nNumRow = 0;
Table1.Row1.instanceManager.addInstance(1);
It works fine however fields in the new row have the same names as fields in the irst row which causes problems later, when I use the generateg XML ti analyze
Could the script name the fields in new rows so that they are different from those in the first row? Like increasing a number or something?
Row1[0]
Row1[1]
Row1[2]
etc.
You can use a loop to walk through the instances to do what you want.
For instance, to create a field that totals the amounts in a field named "subtotal":
It's even easier with FormCalc:
sum(Row1[*].SubTotal)
Hope that helps!