Hi,
You can loop through your repeating section (group2) using scripting (JScript):
var nodeList = XDocument.DOM.selectNodes("//my:group1/my:group2");
if (nodeList.length>0)
{
for (var i=0;i<nodeList.length;i++)
{
var node = nodeList.selectSingleNode("my:field1");
XDocument.UI.Alert(node.text);
}
}
Here field1 is one of your fields (1 column). You know what your colums are to start with because you added them at design time. Your only unknown is the number of rows (added at runtime by your user).
Hope that it helps.
Regards,
Franck Dauché