<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Can I have a Rule operate on the selected node only?</title><link>https://www.infopathdev.com:443/forums/thread/31924.aspx</link><pubDate>Wed, 03 Sep 2008 15:34:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31924</guid><dc:creator>Patrick</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31924.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=31924</wfw:commentRss><description>&lt;p&gt;Oh, sorry for the confusion.&amp;nbsp; I have a drop down that is in a &amp;#39;Detail&amp;#39; section and it changes values in a couple fields in the same &amp;#39;Detail&amp;#39; section.&amp;nbsp; So that would be the same as changing it in the same node/row, correct?&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here are my rules:&lt;/p&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt;Rule 1&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;Condition (Always Applies)&lt;/p&gt;&lt;p&gt;Action (Set a Field&amp;#39;s Value):&amp;nbsp; PricingRegion_txt = xmlPricingRegion[country_id = current()]&lt;/p&gt;The other rules are the same, except they set different values from my XML into different fields in my Main Data Source.&amp;nbsp;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The thing is, I think the rules apply to each node when a change is made in a single node.&amp;nbsp; Example being; node A Drop Down (DD) is changed and the rules check the DD in each row and apply the rules to the fields in each row based on each row&amp;#39;s DD value, respectively.&amp;nbsp; (I hope that makes sense, I am typing kind of fast)&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Can I have a Rule operate on the selected node only?</title><link>https://www.infopathdev.com:443/forums/thread/31919.aspx</link><pubDate>Wed, 03 Sep 2008 14:57:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31919</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31919.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=31919</wfw:commentRss><description>&lt;p&gt;Just to clarify -- your rules, are they set on a single field in the table? Or are they set on the table itself? When you change the drop down selection, are only items in the same row as the dropdown affected? Or are all items in the table affected?&lt;/p&gt;</description></item><item><title>Can I have a Rule operate on the selected node only?</title><link>https://www.infopathdev.com:443/forums/thread/31892.aspx</link><pubDate>Tue, 02 Sep 2008 19:45:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31892</guid><dc:creator>Patrick</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31892.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=31892</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;&lt;p&gt;I was wondering if anybody knew if there is a way to have a rule operate on the selected node in a repeating table without performing the rule on the rest of the nodes.&amp;nbsp; I realized that this is a major drag on the performance of my form, considering the multiple views with multiple repeating tables.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Example being:&amp;nbsp; &lt;/p&gt;&lt;p&gt;I have a set of rules to execute when a user makes a selection in a drop down list box.&amp;nbsp; My drop down list contains country IDs, country names, abbreviations, and pricing region codes (this is retrieved from an XML file), and the user selects a country (i.e. United States of America), then the rules I have set up will show the abbreviation in field in a repeating table (located in the same node/row), and set the pricing region code in a text box also in the same node/row.&amp;nbsp; I&amp;#39;m assuming the rule will perform it&amp;#39;s action on all nodes within the repeating table/section, and I assume this because when I have many rows inserted into the table it takes much longer for these rules to execute compared to when I only have 1 or 2 rows.&amp;nbsp; There is a MAJOR time difference!&lt;/p&gt;&lt;p&gt;&lt;b&gt;The question is if I can have a changing event (i.e. the selection of a value in the &amp;#39;Country&amp;#39; drop down) trigger the same actions as the rules would execute, but only on the current node selected.&lt;/b&gt;&amp;nbsp; The views where these rules are in effect have Master/Detail relationships on the repeating tables/sections shown in the view.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I am using C# Managed code and my experience with that language is limited, but I am confident that with some help I can figure it out if it&amp;#39;s possible.&amp;nbsp; Any help would be great, thanks!&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>