<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Merge Grouping</title><link>https://www.infopathdev.com:443/forums/thread/2033.aspx</link><pubDate>Wed, 05 Apr 2006 01:53:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2033</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2033.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2033</wfw:commentRss><description>Hello, welcome to our forum.  I noticed that your post has a lot of views but no replies.  Creating custom merge is a very complex area in InfoPath which is probably why no one has ventured to answer your question yet.  Unfortunately, I'm in the same boat.  It's not easy to do.  Hopefully my response will pull this back to the top and get one of the code gurus out there to attempt a response.&lt;br /&gt;&lt;br /&gt;That said, one other place to see how custom merge works in is the sample out of box solution "Status Report".  That does a simple custom merge using a custom merge XSL.</description></item><item><title>Merge Grouping</title><link>https://www.infopathdev.com:443/forums/thread/1201.aspx</link><pubDate>Mon, 20 Mar 2006 14:33:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1201</guid><dc:creator>IcySea</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1201.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1201</wfw:commentRss><description>I am trying to merge forms together to create somewhat of a project summary.&lt;br /&gt;&lt;br /&gt;In the merged form, I want to group all the Projects with all the associated tasks.&lt;br /&gt;I expect the final form to appear somewhat like:&lt;br /&gt;&amp;lt;Project&amp;gt; *Repeating&lt;br /&gt;   &amp;lt;Tasks&amp;gt;&amp;lt;/Tasks&amp;gt; *Repeating&lt;br /&gt;&amp;lt;/Project&amp;gt;&lt;br /&gt;&lt;br /&gt;The closest example I could find was here:&lt;a target="_blank" href=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_tr/html/odc_INF_Lab11.asp&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_tr/html/odc_INF_Lab11.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Using this example, I created sample form1 as:&lt;br /&gt;&amp;lt;Customer&amp;gt;Cust1&lt;br /&gt;&amp;lt;Name&amp;gt;123&amp;lt;Price&amp;gt;....&lt;br /&gt;&lt;br /&gt;Sample Form2:&lt;br /&gt;&amp;lt;Customer&amp;gt;Cust2&lt;br /&gt;&amp;lt;Name&amp;gt;456&amp;lt;Price&amp;gt;...&lt;br /&gt;&lt;br /&gt;Sample Form3:&lt;br /&gt;&amp;lt;Customer&amp;gt;Cust1&lt;br /&gt;&amp;lt;Name&amp;gt;abc&amp;lt;Price&amp;gt;...&lt;br /&gt;&lt;br /&gt;Upon merging:&lt;br /&gt;   I get a section created for Cust1 as expected from Form1.&lt;br /&gt;   I get a section created for Cust2 as expected from Form2.&lt;br /&gt;   From Form3, I expected to have the Name, Price, etc. added to the section created by Form1, but it creates a blank section to which it appends the Form3 data.&lt;br /&gt;&lt;br /&gt;If I were to add a form4 for Cust2, the details would be appended to the blank section with the Cust1 data... and so on.&lt;br /&gt;&lt;br /&gt;So, it appears that the code, in the instructions, for adding the details to a defined section is incorrect (or I am missing some detail).&lt;br /&gt;Here is the section I refer to:&lt;br /&gt;   for(var j = 0; j &amp;lt; oSrcItems.length; j++)&lt;br /&gt;   {&lt;br /&gt;      var oSrcItem = oSrcItems.nextNode().cloneNode(true);&lt;br /&gt;         oTrgCustomer.selectSingleNode("my:itemsContainer").appendChild(oSrcItem);&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;Being a newbie, I have sadly been unable to fix this.&lt;br /&gt;&lt;br /&gt;Please show me the err of my ways.</description></item></channel></rss>