<?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: Delete repeating group inside current repeating group</title><link>https://www.infopathdev.com:443/forums/thread/89974.aspx</link><pubDate>Tue, 21 May 2013 12:59:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89974</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89974.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=89974</wfw:commentRss><description>&lt;p&gt;Glad it worked out!&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: qRules: Delete repeating group inside current repeating group</title><link>https://www.infopathdev.com:443/forums/thread/89969.aspx</link><pubDate>Tue, 21 May 2013 00:05:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89969</guid><dc:creator>teylyn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89969.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=89969</wfw:commentRss><description>&lt;p&gt;Hi, thanks for your reply. &lt;/p&gt;
&lt;p&gt;I tried this. It builds an XPath, but the current() function returns the value of a text field AND the SharePoint ID field, like this for the Order with the ShPID 9: &lt;/p&gt;
&lt;p&gt;xpath: my:myFields/my:Container/my:Orders/my:Order[Joe Bloggs9]/my:OrderDetails/my:OrderDetail &lt;/p&gt;
&lt;p&gt;That&amp;#39;s weird. &lt;/p&gt;
&lt;p&gt;EDIT: It seems that the fields of the record that get populated will make it into the current() function. I moved a few rules that populate the order group below the Delete command and now the generated Xpath looked like this, which did not work&lt;/p&gt;
&lt;p&gt;my:myFields/my:Container/my:Orders/my:Order[9]/my:OrderDetails/my:OrderDetail &lt;/p&gt;
&lt;p&gt;But that got me on the right track. After some more tinkering, I got it to work with &lt;/p&gt;
&lt;p&gt;concat(&amp;quot;Delete /xpath=my:myFields/my:Container/my:Orders/my:Order[my:ShPID = &amp;quot;, current(), &amp;quot;]/my:OrderDetails/my:OrderDetail&amp;quot;) &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you!!&lt;/p&gt;</description></item><item><title>Re: qRules: Delete repeating group inside current repeating group</title><link>https://www.infopathdev.com:443/forums/thread/89924.aspx</link><pubDate>Mon, 20 May 2013 12:37:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89924</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89924.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=89924</wfw:commentRss><description>&lt;p&gt;Hi-&lt;/p&gt;&lt;p&gt;You probably need a full xpath:&lt;/p&gt;&lt;p&gt;concat(&amp;quot;Delete /xpath=my:myFields/my:Container/my:Orders/my:Order[&amp;quot;, current(), &amp;quot;]/my:OrderDetails/my:OrderDetail)&lt;/p&gt;&lt;p&gt;Let us know if this works.&lt;/p&gt;</description></item><item><title>qRules: Delete repeating group inside current repeating group</title><link>https://www.infopathdev.com:443/forums/thread/89911.aspx</link><pubDate>Mon, 20 May 2013 03:03:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89911</guid><dc:creator>teylyn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89911.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=89911</wfw:commentRss><description>&lt;p&gt;How do I delete a repeating table that is nested in a repeating section, so I can insert the&amp;nbsp;correct number of rows with&amp;nbsp;the Insert command? I&amp;#39;ve tried with several Xpath attempts using Current(), but no joy.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;My main data source is structured like this:&lt;/p&gt;&lt;pre&gt;myFields
 Container
  Orders
   Order (repeating)
    OrderDetails
     OrderDetail (repeating) &lt;/pre&gt;
&lt;p&gt;The Order node is deleted fine with the qRules Delete command, and then its relevant number of rows are inserted, each containing an empty OrderDetail table showing one row. In the Order repeating table rules&amp;nbsp;I want to use the qRules Delete command to delete the OrderDetail node in the current Order node before it is filled again with Insert. This command does not seem to do anything:&lt;/p&gt;
&lt;p&gt;concat(&amp;quot;Delete /xpath=&amp;quot;, current()/my:OrderDetails/my:OrderDetail)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;After the Delete, I run the Insert and populate the rows with data, but the first blank row stubbornly persists. How can I get rid of it?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;cheers, &lt;/p&gt;</description></item></channel></rss>