<?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: Possible to use eval to copy data from a repeating section?</title><link>https://www.infopathdev.com:443/forums/thread/73345.aspx</link><pubDate>Fri, 30 Dec 2011 07:16:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73345</guid><dc:creator>ladyath</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73345.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=73345</wfw:commentRss><description>&lt;p&gt;After much playing about I gave up on using eval for this.&amp;nbsp; Instead I used the repeating tables to onyl display the information and created new fields for users to make changes in.&amp;nbsp; Not ideal, but oh well.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Possible to use eval to copy data from a repeating section?</title><link>https://www.infopathdev.com:443/forums/thread/73258.aspx</link><pubDate>Mon, 26 Dec 2011 14:03:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73258</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73258.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=73258</wfw:commentRss><description>&lt;p&gt;Hi Ladyath,&lt;/p&gt;&lt;p&gt;What version of InfoPath are you using? You should be able to refresh from the database. We have a common library called qRules that supports copying data from a repeating table but I&amp;#39;m not sure that&amp;#39;s the solution for you. A recursive eval can be used to concat data but there&amp;#39;s no xpath set value command to iterate on, so as far as I know it&amp;#39;s not possible (and that&amp;#39;s why we added it to qRules).&lt;/p&gt;&lt;p&gt;Please reply back with more details and we&amp;#39;ll dig in...&lt;/p&gt;</description></item><item><title>Possible to use eval to copy data from a repeating section?</title><link>https://www.infopathdev.com:443/forums/thread/73247.aspx</link><pubDate>Sun, 25 Dec 2011 11:33:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73247</guid><dc:creator>ladyath</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73247.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=73247</wfw:commentRss><description>&lt;p&gt;I have a repeating table that pulls data from a secondary connection (MSSQL database).&amp;nbsp; The users need to be able to view the data as it is currently there and make any changes before submitting it back.&amp;nbsp; Problem is that if the form is submitted, it resets the repeating table back to the database data and not the user changed info.&amp;nbsp; This is due to having to load the data when the form is opened or I find the repeating section does not populate at all.&amp;nbsp; I an not a coder.&amp;nbsp; At all.&amp;nbsp; So unless someone has code that I can use, I would like to know if it is possible to use eval to somehow mirror the repeating table data to another view and have it retain the info regardless of if the original repeating section reloads or not.&amp;nbsp; The structure looks like this:&lt;/p&gt;&lt;p&gt;Controls (repeating group representing a table in the secondary data conn to the SQL server)&lt;/p&gt;&lt;p&gt;&amp;nbsp; RiskRef&lt;/p&gt;&lt;p&gt;&amp;nbsp; ControlRef&lt;/p&gt;&lt;p&gt;&amp;nbsp; ControlName (multi-line text)&lt;/p&gt;&lt;p&gt;&amp;nbsp; ControlDesc (multi-line text)&lt;/p&gt;&lt;p&gt;&amp;nbsp; ControlOwner&lt;/p&gt;&lt;p&gt;&amp;nbsp; FCI&lt;/p&gt;&lt;p&gt;&amp;nbsp; Adeq&lt;/p&gt;&lt;p&gt;&amp;nbsp; Eff&lt;/p&gt;&lt;p&gt;&amp;nbsp; Rationale (multi-line text)&lt;/p&gt;&lt;p&gt;There can be anything from 1 to 10 controls.  Would eval work or is there a better way?&amp;nbsp; Help would be much appreciated.&lt;/p&gt;</description></item></channel></rss>