<?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: Secondary Data Source Refresh Query</title><link>https://www.infopathdev.com:443/forums/thread/100142.aspx</link><pubDate>Tue, 18 Nov 2014 23:41:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100142</guid><dc:creator>Sam</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100142.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100142</wfw:commentRss><description>&lt;p&gt;Thank you Hilary, Your suggestion to create rules solved the problem. Ended up saving the values on submit and then compare the values with Rules. It worked as expected. Thanks once again.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Secondary Data Source Refresh Query</title><link>https://www.infopathdev.com:443/forums/thread/100116.aspx</link><pubDate>Tue, 18 Nov 2014 15:28:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100116</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100116.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100116</wfw:commentRss><description>&lt;p&gt;This is the issue with calculated values that include data from a secondary data source. Instead of using a calculated value, use a rule. From reading your post, I&amp;#39;d guess that the rule should go on the amount field - if the amount changes, query the secondary data source and get the percentage, and set another field with that value. Then, you can add some logic to the form so that the amount can&amp;#39;t be changed if the form is approved. &lt;/p&gt;</description></item><item><title>Secondary Data Source Refresh Query</title><link>https://www.infopathdev.com:443/forums/thread/100109.aspx</link><pubDate>Tue, 18 Nov 2014 03:32:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100109</guid><dc:creator>Sam</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100109.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100109</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;we are trying to build a commission form and the commission percentages are stored in a separate list. Based on the amount they enter on the form, we have a calculated field that queries the secondary data source (for commission) and grabs the percentage. &lt;/p&gt;&lt;p&gt;All works fine without any problems. The question is , how can we stop this automatic fetch/refresh to stop once the form is submitted and approved. What is happening is that if I change the percentage on the Commission Percentage list and then if I reopen an old submitted form it changes the percentage on the form as well (expected behavior,I guess). &lt;/p&gt;&lt;p&gt;Is there a way we can stop this auto refresh once the form is approved or is there a way we can workaround this please?&lt;/p&gt;&lt;p&gt;Thanks All in advance.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Sam &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>