HI Radzmar,Thanks, this is working.I now want to use the same function in a similar subform.I did this with a second functioncollectData2: function collectData (oTable, oOutput) { var oRows = oTable.resolveNodes("Row1[*]"), i, cResult = ""; for (i = 0; i < oRows.leng...