Matt, thanks for your response.
That is a good idea with the xml file. I have tried to do it with (js) code. I have fields called fielda1 through to fielda61 and I have tried to change the values with the following code:
var i = 1;
while ( i <= 61 )
{
var fieldaTitle = "//my:fielda" & i;
XDocument.DOM.selectSingleNode(fieldaTitle).text = "";
i++;
}
The error I get below relates to the line XDocument.DOM.....
quote:
Expression must evaluate to a node-set.
-->0<--
File:script.js
I have used the structure of code to copy all of these fields to a repeating group so I do not understand why this fails here. Any ideas? Or should I give it up and use the method suggested with secondary data-source?