<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Accessing a specific row for repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/67732.aspx</link><pubDate>Fri, 24 Jun 2011 14:58:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67732</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67732.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=67732</wfw:commentRss><description>&lt;p&gt;The quick start guide should give you a good rundown, but basically, you use a rule to set a command to the &lt;strong&gt;Command&lt;/strong&gt; field in the QdabraRules data source, and it runs that command.&amp;nbsp; For SetValue, the command format would be: &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;SetValue /xpath=&lt;strong&gt;&lt;u&gt;xpath of the field to modify&lt;/u&gt;&lt;/strong&gt; /value=&lt;strong&gt;&lt;u&gt;value to set to the field&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;You can use a concat formula to dynamically insert values into the command, so to set a field on the third row of a repeating group to the value of a field called &lt;strong&gt;&lt;u&gt;address&lt;/u&gt;&lt;/strong&gt;, you could use a formula like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;concat(&amp;#39;SetValue /xpath=/my:myFields/my:group1/my:group2[3]/my:addressField /value=&amp;#39;, &lt;strong&gt;&lt;u&gt;address&lt;/u&gt;&lt;/strong&gt;)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Likewise, you could concat in another field value to dynamically change which row is modified:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;concat(&amp;#39;SetValue /xpath=/my:myFields/my:group1/my:group2[&amp;#39;, &lt;strong&gt;&lt;u&gt;rowToModify&lt;/u&gt;&lt;/strong&gt;, &amp;#39;]/my:addressField /value=&amp;#39; &lt;strong&gt;&lt;u&gt;address&lt;/u&gt;&lt;/strong&gt;)&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Re: Accessing a specific row for repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/67729.aspx</link><pubDate>Fri, 24 Jun 2011 14:17:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67729</guid><dc:creator>Shyam23</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67729.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=67729</wfw:commentRss><description>I just downloaded the Q rules and I injected it to the form. I am not sure now how to use qrules to set the value of a field in repeating table. &lt;br /&gt;</description></item><item><title>Re: Accessing a specific row for repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/67728.aspx</link><pubDate>Fri, 24 Jun 2011 14:03:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67728</guid><dc:creator>Shyam23</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67728.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=67728</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks Jimmy. Will give it a try.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Accessing a specific row for repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/67727.aspx</link><pubDate>Fri, 24 Jun 2011 13:54:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67727</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67727.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=67727</wfw:commentRss><description>&lt;p&gt;Unfortuately, this isn&amp;#39;t available with InfoPath&amp;#39;s built-in functionality, and we added the &lt;strong&gt;SetValue&lt;/strong&gt; command to &lt;a href="http://www.qdabra.com/en/products/qRules.aspx"&gt;qRules&lt;/a&gt; to address this very problem.&amp;nbsp; Please give it a try.&lt;/p&gt;</description></item><item><title>Accessing a specific row for repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/67725.aspx</link><pubDate>Fri, 24 Jun 2011 13:42:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67725</guid><dc:creator>Shyam23</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67725.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=67725</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I know this is a very common question. But I couldn&amp;#39;t find answers in this forum. I need to change a particular field(say 2nd row, 3 rd column) of a repeating table based on the value selected in dropdowns (which is outside the table). Right now when I insert a new row, the previous row&amp;#39;s values are copied. Somebody please help me out with it.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Shyam &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>