<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Repeating Section Across Multiple Views</title><link>https://www.infopathdev.com:443/forums/thread/75934.aspx</link><pubDate>Thu, 01 Mar 2012 04:22:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75934</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75934.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75934</wfw:commentRss><description>&lt;p&gt;Hi Wheeliea,&lt;/p&gt;&lt;p&gt;One simple way to do this is to add an receive data connection to an XML file that has three fields in it:&lt;/p&gt;&lt;p&gt;&amp;lt;viewState&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field1&amp;gt;&amp;lt;/field1&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field2&amp;gt;&amp;lt;/field2&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field3&amp;gt;&amp;lt;/field3&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/viewState&amp;gt;&lt;/p&gt;&lt;p&gt;Drag the secondary data source values to each view - one for field1, one for field2 and one for field3.&lt;/p&gt;&lt;p&gt;Add a rule to each field to set a value. Specify the value of the repeating node in your main data source.&lt;/p&gt;&lt;p&gt;This doesn&amp;#39;t quite work since you aren&amp;#39;t indexing it.&lt;/p&gt;&lt;p&gt;You&amp;#39;ll have to go into the manifest.xsf (File-&amp;gt;Publish-&amp;gt;Export Source Files) using notepad and add the [1] or [2] or [3] index after the xpath for each of the three rules.&lt;/p&gt;&lt;p&gt;Then it will work.&lt;/p&gt;&lt;p&gt;Of course, it&amp;#39;s slightly more complicated if you have a lot of fields in the repeating child group, but you can do it.&lt;/p&gt;&lt;p&gt;Make sure your main data source looks like this:&lt;/p&gt;&lt;p&gt;parent (non-repeating group)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; child (repeating group)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fieldA (non-repeating)&lt;/p&gt;&lt;p&gt;        &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fieldB (non-repeating)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/p&gt;&lt;p&gt;Good luck&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;</description></item><item><title>Repeating Section Across Multiple Views</title><link>https://www.infopathdev.com:443/forums/thread/75547.aspx</link><pubDate>Tue, 21 Feb 2012 16:01:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75547</guid><dc:creator>wheeliea</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75547.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75547</wfw:commentRss><description>&lt;p&gt;In the XML Data Source, I have a node that can have multiple entries.&amp;nbsp; In this case I would normally use a Repeating Section on the InfoPath form.&amp;nbsp; There will ever be 0 to 3 entries for the node.&lt;/p&gt;
&lt;p&gt;Is it possible to create 3 separate views, each which populate one entry of the node in question.&amp;nbsp; Or am I going to need a Repeating Section to handle the multiple entries.&lt;/p&gt;
&lt;p&gt;Can a Repeating Section be split across multiple views dynamically?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>