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.length; i += 1) { cResult +=
oRows.item(i).txtOmschrijvingTaakOverheidsorgaan.isNull ? "" :
oRows.item(i).txtOmschrijvingTaakOverheidsorgaan.rawValue; cResult += "
"; // space cResult +=
oRows.item(i).txtRegelgevingInstellingTaakOverheid...