<?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: Embedding Repeating Table Information in Another Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/79300.aspx</link><pubDate>Wed, 06 Jun 2012 23:08:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79300</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79300.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79300</wfw:commentRss><description>&lt;p&gt;Hi, and welcome.&lt;/p&gt;
&lt;p&gt;So you know - it is NOT easy to copy repeating data from one table to another - InfoPath offers no way to insert rows in your table without code (or qRules - which can do that and many other things).&lt;/p&gt;
&lt;p&gt;However - you don&amp;#39;t really need a second table for displaying summarized info. Here&amp;#39;s a &lt;a href="http://www.infopathdev.com/files/folders/examples/entry41116.aspx"&gt;link&lt;/a&gt; to a simple sample form. Save it locally, then right click on the form and select Design to open in design mode. The same repeating table is displayed twice on the form, but conditionally formatted to look like a summary table - the key here is the use of preceding-sibling in the formulas.&lt;/p&gt;</description></item><item><title>Embedding Repeating Table Information in Another Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/79298.aspx</link><pubDate>Wed, 06 Jun 2012 22:11:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79298</guid><dc:creator>tjsmoot19</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79298.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79298</wfw:commentRss><description>&lt;p&gt;Good day,&lt;/p&gt;
&lt;p&gt;I am a new member of the InfoPath community.&amp;nbsp; I have been tasked at creating a smart form and have enjoyed using InfoPath 2010.&amp;nbsp; I would like to embed information from one repeating table into another repeating table and have it auto adjust accordingly.&lt;/p&gt;
&lt;p&gt;Hopefully it is not too hard, and forgive me with the data source layout, it may be unappealing, but I am new. (please see attached image). From other posts I gather that this may be relatively easy to do.&amp;nbsp; Now, for the requirements.&lt;/p&gt;
&lt;p&gt;I would like to take&amp;nbsp;the information from the &amp;#39;Repeating_Account&amp;#39; section and show it in the &amp;#39;Summary_Master&amp;#39; section.&amp;nbsp; I would like the following to populate&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;AcctTitle&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;AcctNumber&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;AcctType&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;AcctPurpose&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;AcctOpened&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Because each account generated in the table will vary, I would like the information be be inserted in a summary section called the &amp;#39;Summary_Master&amp;#39;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;So far I am trying this forumla with no avail&lt;/p&gt;
&lt;p&gt;/my:myFields/my:Repeating_Account/my:Repeating_Accounts[count(preceding-sibling::my:Repeating_Accounts) = count(current()/../../preceding-sibling::my:SummaryAccounts)]/my:AcctTitle&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I would appreciate any and all help possible.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;*Update - as for the field names in the &amp;#39;SummaryAccounts&amp;#39; repeating table, it can be simply:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;AcctTitle2&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;AcctNumber2&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;AcctType2&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;AcctPurpose2&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;AcctOpened&amp;nbsp;2&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>