<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Disable drop-down box recalculation from code</title><link>https://www.infopathdev.com:443/forums/thread/61893.aspx</link><pubDate>Thu, 02 Dec 2010 15:52:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61893</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61893.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=61893</wfw:commentRss><description>&lt;p&gt;If you can share your form, attach it to a reply (under the Options tab) and I&amp;#39;ll take a quick look and see if I can see what might be changing the field. You don&amp;#39;t have any code in this form, do you?&lt;/p&gt;</description></item><item><title>Re: Disable drop-down box recalculation from code</title><link>https://www.infopathdev.com:443/forums/thread/61831.aspx</link><pubDate>Wed, 01 Dec 2010 12:16:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61831</guid><dc:creator>bradbee</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61831.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=61831</wfw:commentRss><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;No default value set, just a filter on the drop down based on what&amp;#39;s entered in the first text box of the repeating table.&lt;/p&gt;</description></item><item><title>Re: Disable drop-down box recalculation from code</title><link>https://www.infopathdev.com:443/forums/thread/61808.aspx</link><pubDate>Tue, 30 Nov 2010 20:43:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61808</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61808.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=61808</wfw:commentRss><description>What is resetting that field&amp;#39;s selection from whatever it was to A? Something must be changing the value -- do you have any open rules in place? A default value run amuck?</description></item><item><title>Re: Disable drop-down box recalculation from code</title><link>https://www.infopathdev.com:443/forums/thread/61805.aspx</link><pubDate>Tue, 30 Nov 2010 20:29:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61805</guid><dc:creator>bradbee</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61805.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=61805</wfw:commentRss><description>&lt;p&gt;There isn&amp;#39;t a rule on the drop-down, just a filtered set of values&amp;nbsp;and I don&amp;#39;t want to disable the control. Rather, I just want to keep it from recalculating when I reopen the form. If I select B from a choice of A, B, C it&amp;#39;s resetting the value to A when I reopen the form.&lt;/p&gt;</description></item><item><title>Re: Disable drop-down box recalculation from code</title><link>https://www.infopathdev.com:443/forums/thread/61692.aspx</link><pubDate>Fri, 26 Nov 2010 14:56:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61692</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61692.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=61692</wfw:commentRss><description>&lt;p&gt;Hi, I dont think you can disable a field from code. I suggest you to remove&amp;nbsp;your rule or&amp;nbsp;default value and do it with code. I remark that If you remove a row of a repeating table rules never fires.&lt;/p&gt;</description></item><item><title>Disable drop-down box recalculation from code</title><link>https://www.infopathdev.com:443/forums/thread/61691.aspx</link><pubDate>Fri, 26 Nov 2010 13:56:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61691</guid><dc:creator>bradbee</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61691.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=61691</wfw:commentRss><description>&lt;p&gt;Here&amp;#39;s my problem.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have a drop-down box in a repeating row that has it&amp;#39;s result set filter based on what&amp;#39;s entered in the previous text box. It does this all correctly and submits correctly, but when the form is reopened it resets all values in the drop downs to the first value in the result set.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Example.&lt;/p&gt;
&lt;p&gt;In row 1: You enter work order 222 in the text box and there are three items in the drop-down you can select (A, B, C) related to that work order. So I select B&lt;/p&gt;
&lt;p&gt;In row 2: I again enter work order 222 in the text box. Then I select item C in the drop-down.&lt;/p&gt;
&lt;p&gt;I submit the form fine but when I open it again it resets all values in the drop-down to A, the first item in the drop-down values.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m thinking that perhaps I can disable recalculation on the drop-down once a value is selected? How can I disable this through code. Or perhaps someone has another suggestion?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks!&lt;/p&gt;</description></item></channel></rss>