<?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: Set the value of a following sibling field</title><link>https://www.infopathdev.com:443/forums/thread/11262.aspx</link><pubDate>Tue, 13 Mar 2007 18:06:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11262</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11262.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11262</wfw:commentRss><description>Ah yes, my mistake. I forgot that rule actions don't let you modify the field xpath. Unfortunately, it is set up so that if you try to edit them manually, it causes further problems.&lt;br /&gt;&lt;br /&gt;What happens with rules where you set a value in a repeating list is that the value of each mathing field in every row gets updated. This is sometimes helpful, but more often than not is a problem. The best alternative is to go to code for this.</description></item><item><title>Re: Set the value of a following sibling field</title><link>https://www.infopathdev.com:443/forums/thread/11261.aspx</link><pubDate>Mon, 12 Mar 2007 18:56:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11261</guid><dc:creator>Pasu</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11261.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11261</wfw:commentRss><description>Thanks for your response, Greg.&lt;br /&gt;&lt;br /&gt;In order to test whether the rules fire in sequence from the current row to the following, I added a 'Show a dialog box expression' action at the end, that would display the row number of the rule being executed and would wait for OK after each row's rules were executed.&lt;br /&gt;&lt;br /&gt;From the above testing, I found that the rules didn't fire in sequence because the row numbers were displayed in random.&lt;br /&gt;&lt;br /&gt;On the other hand, I have been unsuccessfully trying to set the value of &lt;i&gt;following-sibling::my:RowNode[1]/my:FieldName&lt;/i&gt; as I could neither edit nor paste the XPath of the field I would like to set the value for.&lt;br /&gt;&lt;img src='http://img477.imageshack.us/img477/2879/setvaluews6.jpg' border='0' /&gt; &lt;br /&gt;&lt;br /&gt;Is there any way to edit the XPath of the Field?</description></item><item><title>Re: Set the value of a following sibling field</title><link>https://www.infopathdev.com:443/forums/thread/11260.aspx</link><pubDate>Mon, 12 Mar 2007 16:47:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11260</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11260.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11260</wfw:commentRss><description>With what you want to do, rules should cascade, like dominos falling. Using following-sibling::my:RowNode[1]/my:FieldName to set the row field should work. Note the [1] filter is essential in the XPath to state that you want the very next sibling. Then the rule on that next row should do the same to the one following it, etc.</description></item><item><title>Set the value of a following sibling field</title><link>https://www.infopathdev.com:443/forums/thread/6113.aspx</link><pubDate>Fri, 09 Mar 2007 20:39:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6113</guid><dc:creator>Pasu</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6113.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6113</wfw:commentRss><description>I have a repeating table in which I would like to fire rules for the current row and the following rows, whenever a value in the current row changes. The firing should happen in sequence.&lt;br /&gt;&lt;br /&gt;Using 'How To' tips at&lt;a target="_blank" href=http://www.infopathdev.com/howto/tutorials/default.aspx?i=d663d7df90e94e65abb02632966e8127&gt;http://www.infopathdev.com/howto/tutorials/default.aspx?i=d663d7df90e94e65abb02632966e8127&lt;/a&gt; (&lt;b&gt;Assign an Autogenerated Row Number to a Repeating Field&lt;/b&gt;), I created rules on the Autogenerated Row Number field. But, what I found is that the rules fire randomly across rows, thereby causing miscalculations.&lt;br /&gt;&lt;br /&gt;I believe that it is possible, if it is possible to set the value of a following sibling field. Is there any way to set the same?&lt;br /&gt;&lt;br /&gt;Or, if there is any other way to fire the rules in sequence, please post your thoughts.&lt;br /&gt;&lt;br /&gt;Thanks in advance!!</description></item></channel></rss>