<?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: Deleting a Row in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/96193.aspx</link><pubDate>Fri, 28 Feb 2014 14:51:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96193</guid><dc:creator>Zoidy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96193.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=96193</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Ahhh, was entering it into the Value box!&amp;nbsp; Doh!.&lt;/p&gt;&lt;p&gt;However, I have now pasted the line into the Formula Editor and put the error field onto the view and I&amp;#39;m getting this error:&lt;/p&gt;&lt;p&gt;Action: Delete. Arguments: xpath: 
/dfs:myFields/dfs:dataFields/d:ExpensesMain/d:ExpenseItems/[2] . Details: 
Expression must evaluate to a node-set.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;UPDATE:&lt;/p&gt;&lt;p&gt;Ignore that error.&amp;nbsp; I re-pasted in the line from your reply above, after ticking Edit Xpath (advanced) and it now works great.&lt;/p&gt;&lt;p&gt;Many thanks for your help.&lt;/p&gt;&lt;p&gt;Cheers,&lt;/p&gt;&lt;p&gt;Pete.&lt;/p&gt;</description></item><item><title>Re: Deleting a Row in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/96191.aspx</link><pubDate>Fri, 28 Feb 2014 14:32:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96191</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96191.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=96191</wfw:commentRss><description>&lt;p&gt;For the second one, you need to open up the Formula Editor and enter it there, not in the &lt;strong&gt;Value:&lt;/strong&gt; box. Is that where you&amp;#39;re entering it?&lt;/p&gt;&lt;p&gt;Note that you can also troubleshoot by dragging the qRules Error field into your form and seeing what it says after you execute a command.&lt;/p&gt;</description></item><item><title>Re: Deleting a Row in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/96172.aspx</link><pubDate>Fri, 28 Feb 2014 08:01:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96172</guid><dc:creator>Zoidy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96172.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=96172</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Jimmy,&lt;/p&gt;&lt;p&gt;&amp;nbsp;That line still doesn&amp;#39;t work for me.&amp;nbsp;I&amp;#39;m not getting an error either way.&amp;nbsp; Any other ideas?&lt;/p&gt;&lt;p&gt;Cheers,&lt;/p&gt;&lt;p&gt;Pete.&lt;/p&gt;</description></item><item><title>Re: Deleting a Row in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/96154.aspx</link><pubDate>Thu, 27 Feb 2014 15:24:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96154</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96154.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=96154</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Ah, sorry, you need to remove the / after preceding-sibling:: (I imagine InfoPath displayed some sort of error about that?).&amp;nbsp; Fixed it now.&lt;/p&gt;</description></item><item><title>Re: Deleting a Row in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/96153.aspx</link><pubDate>Thu, 27 Feb 2014 15:16:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96153</guid><dc:creator>Zoidy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96153.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=96153</wfw:commentRss><description>&lt;p&gt;Many thanks Jimmy,&amp;nbsp; the first one works beautifully.&lt;/p&gt;&lt;p&gt;However the second one is still not doing anything I&amp;#39;m afraid.&lt;/p&gt;</description></item><item><title>Re: Deleting a Row in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/96152.aspx</link><pubDate>Thu, 27 Feb 2014 14:15:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96152</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96152.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=96152</wfw:commentRss><description>&lt;p&gt;You just need to delete the slashes before the predicates (the parts in [square brackets]):&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Delete /xpath=/dfs:myFields/dfs:dataFields/d:ExpensesMain/d:ExpenseItems[@ReceiptNumber = 0]&amp;nbsp;&amp;nbsp; (no concat() needed here)&lt;/p&gt;&lt;p&gt;concat(&amp;quot;Delete /xpath=/dfs:myFields/dfs:dataFields/d:ExpensesMain/d:ExpenseItems[&amp;quot;, count(preceding-sibling::d:ExpenseItems) + 1 , &amp;quot;]&amp;quot;)&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Deleting a Row in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/96150.aspx</link><pubDate>Thu, 27 Feb 2014 13:46:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96150</guid><dc:creator>Zoidy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96150.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=96150</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I know this has been asked before and I have looked at the answers on those but I am still not getting anywhere.&lt;/p&gt;&lt;p&gt;I would like to delete a row from a repeating table with two different methods:&lt;/p&gt;&lt;p&gt;a.)&amp;nbsp;Delete the same row where a user clicks on an image button in that row.&lt;/p&gt;&lt;p&gt;b.) Delete rows (on submit) where a specific field is empty or zero.&lt;/p&gt;&lt;p&gt;The following command will delete all the rows in the table so I know this at least works:&lt;/p&gt;&lt;p&gt;Delete /xpath=/dfs:myFields/dfs:dataFields/d:ExpensesMain/d:ExpenseItems&lt;/p&gt;&lt;p&gt;But I have tried ...&lt;/p&gt;&lt;p&gt;concat(&amp;quot;Delete /xpath=/dfs:myFields/dfs:dataFields/d:ExpensesMain/d:ExpenseItems/[@ReceiptNumber = &amp;#39;&amp;quot;, 0, &amp;quot;&amp;#39;]&amp;quot;)&lt;/p&gt;&lt;p&gt;concat(&amp;quot;Delete /xpath=/dfs:myFields/dfs:dataFields/d:ExpensesMain/d:ExpenseItems/[ReceiptNumber=&amp;#39;&amp;quot;, 0, &amp;quot;&amp;#39;]&amp;quot;)&lt;/p&gt;&lt;p&gt;concat(&amp;quot;Delete /xpath=/dfs:myFields/dfs:dataFields/d:ExpensesMain/d:ExpenseItems/[d:ReceiptNumber=&amp;#39;&amp;quot;, 0, &amp;quot;&amp;#39;]&amp;quot;)&lt;/p&gt;&lt;p&gt;concat(&amp;quot;Delete /xpath=/dfs:myFields/dfs:dataFields/d:ExpensesMain/d:ExpenseItems/[&amp;quot;, count(preceding-sibling::/d:ExpenseItems) + 1 , &amp;quot;]&amp;quot;)&lt;/p&gt;&lt;p&gt;This is the xpath for the field I am testing this with:&lt;/p&gt;&lt;p&gt;/dfs:myFields/dfs:dataFields/d:ExpensesMain/d:ExpenseItems/@ReceiptNumber&lt;/p&gt;&lt;p&gt;The form is an InfoPath Filler form.&lt;/p&gt;&lt;p&gt;Cheers,&lt;/p&gt;&lt;p&gt;Pete.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>