There are a couple examples of this on http://www.infopathdev.com if you
search.
You must iterate through the secondary and then insert a record for each
into your main DOM via code.

Signature
Clay Fox / Microsoft InfoPath MVP
www.InfoPathDev.com / The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum
> I would like to load multiple rows of default data from an xml file which has
> been setup as a data source. I have created the repeating section and
[quoted text clipped - 30 lines]
>
> Any help with this problem is appriecated.
Paul - 25 Feb 2008 20:50 GMT
Thanks for the reply.
Right now I am feeling really dense. I searched infoPathDev for examples
that would demonstrate how to insert records into my Main Data source using
code but have not been able to find any. As you can tell from my orignal
post, I am using Visual Basic with InfoPath 2007. Could you please point me
to the posts you referred to? Or at least provide the search terms you used
to find the posts.
Thanks,
> There are a couple examples of this on http://www.infopathdev.com if you
> search.
[quoted text clipped - 36 lines]
> >
> > Any help with this problem is appriecated.
Clay Fox - 26 Feb 2008 03:58 GMT
Hey Paul.
Here is one I was thinking of.
http://www.infopathdev.com/forums/p/5373/26723.aspx#26723

Signature
Clay Fox / Microsoft InfoPath MVP
www.InfoPathDev.com / The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum
> Thanks for the reply.
>
[quoted text clipped - 47 lines]
> > >
> > > Any help with this problem is appriecated.