<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Repeating table data saved to internal xml file for static use</title><link>https://www.infopathdev.com:443/forums/thread/107153.aspx</link><pubDate>Thu, 23 Jun 2016 21:26:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107153</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107153.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=107153</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Right - you are going to have to copy the data from the secondary data source into your main data source. Code or qRules can do this - code that does this should be okay for use in the browser. Here&amp;#39;s a &lt;a href="http://www.bizsupportonline.net/blog/2008/09/how-to-copy-data-from-secondary-data-source-to-repeating-table-in-main-data-source-infopath-form/"&gt;link&lt;/a&gt; that may help you get started.&lt;/p&gt;</description></item><item><title>Repeating table data saved to internal xml file for static use</title><link>https://www.infopathdev.com:443/forums/thread/107129.aspx</link><pubDate>Tue, 21 Jun 2016 23:53:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107129</guid><dc:creator>appelgw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107129.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=107129</wfw:commentRss><description>Scenario:  Primary list of Project Plans.  Second list of Project Milestones.  There is a many to one relationship where each Project Milestone has a ProjectPlanID that matches a single record in the Project Plans list.
Primary Goal:  When a new Scorecard form is created and a ProjectPlanID is selected, display a repeating table with all of the associated Project Milestone data.
Secondary Goal:  When the Scorecard is opened, do not retrieve fresh data.  Instead display data in the repeating table of what existed when the form was last saved.

My understanding is that while the form creation (or an event handling button) can run the data source query and retrieve the data, it does not store that data in the form.  In order to keep a static copy of the data, it must be saved within the form, but since it is a repeating table, it cannot be stored within the form fields.  Instead, the data can be stored in and xml file which is part of the .xsn.

I believe I&amp;#39;ve seen the solution provided within INFOPATdev before, but cannot locate it.  I know it is not a codeless solution, but I&amp;#39;m willing to take on the additional work.

First question:  Can this solution be created and still use web forms?
Second:  Can anyone provide the steps, or point me to where they&amp;#39;ve already been posted?

Greg</description></item></channel></rss>