<?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>Qdabra qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Qrules SetValue</title><link>https://www.infopathdev.com:443/forums/thread/81772.aspx</link><pubDate>Fri, 17 Aug 2012 17:57:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81772</guid><dc:creator>BejeweledOne</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81772.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=81772</wfw:commentRss><description>That is correct.  I have it working now.   My row had 2 columns and it wasn&amp;#39;t populating the second column but I have that working also.   I have however added a 3rd column.  Should I populate the 3rd column the same way I populated the 2nd column by triggering it when the first column is populated?</description></item><item><title>Re: Qrules SetValue</title><link>https://www.infopathdev.com:443/forums/thread/81452.aspx</link><pubDate>Tue, 07 Aug 2012 15:37:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81452</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81452.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=81452</wfw:commentRss><description>&lt;p&gt;Oh, I think I may have misunderstood here.&lt;/p&gt;
&lt;p&gt;So - I originally put in a formula that would set the value of the last instance of the row.&lt;/p&gt;
&lt;p&gt;concat(&amp;#39;SetValue /xpath=/my:myFields/my:grpReplacement/my:grpReplacementIssue/my:Replacement&lt;strong&gt;[last()]&lt;/strong&gt;/my:strReplacementIssued /value=&amp;#39;, &lt;em&gt;&lt;u&gt;strIssuedBy&lt;/u&gt;&lt;/em&gt;)&lt;/p&gt;
&lt;p&gt;Your form logic inserts a new row, and then this should populate the newly inserted row. I&amp;#39;m sorry, I am kind of confused as to what is not working correctly for you?&lt;/p&gt;</description></item><item><title>Re: Qrules SetValue</title><link>https://www.infopathdev.com:443/forums/thread/81439.aspx</link><pubDate>Tue, 07 Aug 2012 11:10:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81439</guid><dc:creator>BejeweledOne</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81439.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=81439</wfw:commentRss><description>So if I understand this correctly, I should create the rule to populate the second field on the first field (condition: when field changes)?</description></item><item><title>Re: Qrules SetValue</title><link>https://www.infopathdev.com:443/forums/thread/81425.aspx</link><pubDate>Mon, 06 Aug 2012 19:10:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81425</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81425.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=81425</wfw:commentRss><description>&lt;p&gt;Here&amp;#39;s another &lt;a href="http://www.infopathdev.com/forums/p/23474/81422.aspx#81422"&gt;post&lt;/a&gt; where this same scenario just came up, see if it helps you - if not, let me know. :-)&lt;/p&gt;</description></item><item><title>Re: Qrules SetValue</title><link>https://www.infopathdev.com:443/forums/thread/81423.aspx</link><pubDate>Mon, 06 Aug 2012 18:48:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81423</guid><dc:creator>BejeweledOne</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81423.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=81423</wfw:commentRss><description>One other question.   I did get this partially working.  The first action to copy infomation into the first field in the repeating table row works, but the second action to copy data into the second field in the same repeating row did not work.

Is there something special that I need to do when copying data into the second field on a repeating row?</description></item><item><title>Re: Qrules SetValue</title><link>https://www.infopathdev.com:443/forums/thread/81341.aspx</link><pubDate>Fri, 03 Aug 2012 17:20:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81341</guid><dc:creator>BejeweledOne</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81341.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=81341</wfw:commentRss><description>I noticed the space as well and checked that and still received the error, so I don&amp;#39;t know what that was about.  When I copy what you put here however I can save it without an error.</description></item><item><title>Re: Qrules SetValue</title><link>https://www.infopathdev.com:443/forums/thread/81338.aspx</link><pubDate>Fri, 03 Aug 2012 16:54:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81338</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81338.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=81338</wfw:commentRss><description>&lt;p&gt;Your error indicates that in your command you don&amp;#39;t have a space between &amp;quot;SetValue&amp;quot; and &amp;quot;/xpath&amp;quot; - although in the command above, you seem to - could you check that first?&lt;/p&gt;
&lt;p&gt;I think you may want to use &amp;quot;last()&amp;quot; here as well, since your inserted row is probably going to be the last one, and you&amp;#39;ll need a concat formula, so that you are passing in the actual value:&lt;/p&gt;
&lt;p&gt;concat(&amp;#39;SetValue /xpath=/my:myFields/my:grpReplacement/my:grpReplacementIssue/my:Replacement&lt;strong&gt;[last()]&lt;/strong&gt;/my:strReplacementIssued /value=&amp;#39;, &lt;em&gt;&lt;u&gt;strIssuedBy&lt;/u&gt;&lt;/em&gt;)&lt;/p&gt;
&lt;p&gt;You&amp;#39;ll use the field picker to select strIssuedBy when you create the concat formula. So, the command takes the XPath to the node who&amp;#39;s value you want to set, and then the actual value (not XPath to the value field).&lt;/p&gt;</description></item><item><title>Qrules SetValue</title><link>https://www.infopathdev.com:443/forums/thread/81332.aspx</link><pubDate>Fri, 03 Aug 2012 16:18:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81332</guid><dc:creator>BejeweledOne</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81332.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=81332</wfw:commentRss><description>&lt;p&gt;I am trying to setup a &amp;#39;History&amp;#39; table in one of my forms.  I have the repeating table and have setup the Insert to insert a blank row on resubmit if a certain field is not blank.&lt;/p&gt;

&lt;p&gt;My next rule needs to be to populate that blank row (2 fields) with the data from 2 other fields on the form.   I am using qRules (4.1) for the very first time with this so I am very, very new to it.&lt;/p&gt;

&lt;p&gt;I am trying to follow the guidelines in the user guide but am  not sure my syntax is right nor if I am doing it right.&lt;/p&gt;

&lt;p&gt;So to do this I should do an action rule, with &amp;#39;Set a fields value&amp;#39; and select Qrules - command.   Then in the function box, enter this:  (I think it might be right)&lt;/p&gt;

SetValue /xpath=/my:myFields/my:grpReplacement/my:grpReplacementIssue/my:Replacement/my:strReplacementIssued /value=/my:myFields/my:grpIssued/my:strIssuedBy

&lt;p&gt;Here is my structure: Reference datastructure.png

&lt;p&gt;When I try to set this rule though I get this error:  &amp;quot;SetValue/xpath&amp;quot; does not point to a valid location path of a field or group.&lt;/p&gt;


&lt;p&gt;Help!&lt;/p&gt;</description></item></channel></rss>