Hi guys,
I found the solution on my own ;)
Now I would like to share the code with the compunity for Infopath 2007
Here it comes:
Dim row as XPathNavigator =
MainDataSource.CreateNavigator.SelectSingleNode("/my:myFields/my:group1/my:group2", NamespaceManager)
row.Clone()
Dim parent as XPathNavigator =
MainDataSource.CreateNavigator.SelectSingleNode("/my:myFields/my:group1",
NamespaceManager)
parent.AppendChild(row)
Add this code to a button function (OnClick) and Thats it
Have fun
cheers Janko
> Hi all,
>
[quoted text clipped - 14 lines]
> cheers
> Janko