<?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: Delete row from a repeating table using QRules</title><link>https://www.infopathdev.com:443/forums/thread/120222.aspx</link><pubDate>Wed, 02 Jan 2019 18:33:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120222</guid><dc:creator>Daniel_5584</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120222.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=120222</wfw:commentRss><description>Hi Hillary, &lt;br /&gt;&lt;br /&gt;

Thank you for help. That did the trick. I figured my xpath was off. &lt;br /&gt;&lt;br /&gt;

When I ran into trouble deleting the rows based on empty fields I tried setting the field DeleteRow to the word &amp;quot;DELETE&amp;quot; and then using a rule to delete the specific row. Which works sort of, but based on order of operations for rules and code it will only delete a single row with each button press. &lt;br /&gt;&lt;br /&gt;

Thanks again for all your help!&lt;br /&gt;&lt;br /&gt;

Happy New Year!&lt;br /&gt;&lt;br /&gt;

Dan</description></item><item><title>Re: Delete row from a repeating table using QRules</title><link>https://www.infopathdev.com:443/forums/thread/120215.aspx</link><pubDate>Mon, 31 Dec 2018 15:58:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120215</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120215.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=120215</wfw:commentRss><description>So - the repeating group is Prod_Info_Display? I&amp;#39;m not sure what your DeleteRow field is for, but if Prod_Info_Display is the repeating group, and you want to delete rows where PN_Display is blank, I&amp;#39;d try: Delete /xpath=/my:myFields/my:PopulatedData/my:Prod_Info_Display[my:PN_Display=&amp;#39;&amp;#39;]</description></item><item><title>Re: Delete row from a repeating table using QRules</title><link>https://www.infopathdev.com:443/forums/thread/120209.aspx</link><pubDate>Sat, 22 Dec 2018 01:02:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120209</guid><dc:creator>Daniel_5584</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120209.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=120209</wfw:commentRss><description>Is it possible to delete a given row from outside the repeating table using QRules? &lt;br /&gt;&lt;br /&gt;

I would like to delete all blank rows of a table using a button that is outside the table. I know the SetValue command can use a criterion filter, is it possible to do the same with the Delete command?&lt;br /&gt;&lt;br /&gt;

What I am trying is this: &lt;br /&gt;

Delete /xpath=/my:myFields/my:PopulatedData/my:Prod_Info_Display/my:DeleteRow[../my:PN_Display=&amp;#39;&amp;#39;]&lt;br /&gt;&lt;br /&gt;

The first time I press the Button the Success box is checked, but nothing seems to happen. On the second press I receive the error: Could not locate field to delete.&lt;br /&gt;&lt;br /&gt;

I can delete the entire table with: &lt;br /&gt;

Delete /xpath=/my:myFields/my:PopulatedData/my:Prod_Info_Display&lt;br /&gt;&lt;br /&gt;

Or a specific row with:&lt;br /&gt;

Delete /xpath=/my:myFields/my:PopulatedData/my:Prod_Info_Display[3]&lt;br /&gt;&lt;br /&gt;

But I can&amp;#39;t figure out how to delete a row when it is blank from outside of the repeating table. 

Any help is greatly appreciated!</description></item><item><title>Re: Delete row from a repeating table using QRules</title><link>https://www.infopathdev.com:443/forums/thread/96518.aspx</link><pubDate>Wed, 19 Mar 2014 12:37:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96518</guid><dc:creator>cawboy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96518.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=96518</wfw:commentRss><description>Hi

&lt;p&gt;&lt;b&gt;where i must insert this command ?&lt;/b&gt; &lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;concat(&amp;quot;Delete /xpath=/my:path/my:to/my:repeatingGroup[&amp;quot;, count(preceding-sibling::my:repeatingGroup) + 1, &amp;quot;]&amp;quot;)&lt;/p&gt;&lt;/blockquote&gt;

for delete an item with infopath form 2010

&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Jimmy:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;Assuming you have the delete button in each row of&amp;nbsp;the repeating table, it would be something like:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;concat(&amp;quot;Delete /xpath=/my:path/my:to/my:repeatingGroup[&amp;quot;, count(preceding-sibling::&lt;strong&gt;&lt;u&gt;my:repeatingGroup&lt;/u&gt;&lt;/strong&gt;) + 1, &amp;quot;]&amp;quot;)&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;</description></item><item><title>Re: Delete row from a repeating table using QRules</title><link>https://www.infopathdev.com:443/forums/thread/74154.aspx</link><pubDate>Tue, 17 Jan 2012 22:03:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74154</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74154.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=74154</wfw:commentRss><description>&lt;p&gt;That&amp;#39;s great news - I&amp;#39;m glad you got it all working the way you want it to!&lt;/p&gt;</description></item><item><title>Re: Delete row from a repeating table using QRules</title><link>https://www.infopathdev.com:443/forums/thread/74151.aspx</link><pubDate>Tue, 17 Jan 2012 21:55:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74151</guid><dc:creator>Leinweber</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74151.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=74151</wfw:commentRss><description>&lt;p&gt;Thank you Hilary and Patrick! I understand know and was able to get everything to work.&amp;nbsp; :)&amp;nbsp; I greatly appreciate your help with this. &lt;/p&gt;</description></item><item><title>Re: Delete row from a repeating table using QRules</title><link>https://www.infopathdev.com:443/forums/thread/74015.aspx</link><pubDate>Mon, 16 Jan 2012 16:20:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74015</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74015.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=74015</wfw:commentRss><description>&lt;p&gt;Hi - just so you know, the SubmitToSharePointList and the companion refresh command are only for use on the Main data source. That means you&amp;#39;d need to copy the SharePoint items into your form&amp;#39;s main data source.&lt;/p&gt;
&lt;p&gt;So, you could add a repeating group to your main data source and use the CopyTable to copy in the information from the 2DS. Include the IDs, since the refresh command and the submit command will need them in order to know what item you want to delete or update.&lt;/p&gt;
&lt;p&gt;Then, after you&amp;#39;ve copied your items in, running the Refresh command will generate the internal list that Patrick mentions. Allow users to delete, update or add items, and the SubmitToSharePointList command will replicate those changes in your SharePoint list. Hope that helps, please let me know where you could use more info.&lt;/p&gt;</description></item><item><title>Re: Delete row from a repeating table using QRules</title><link>https://www.infopathdev.com:443/forums/thread/73994.aspx</link><pubDate>Sun, 15 Jan 2012 16:09:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73994</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73994.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=73994</wfw:commentRss><description>Hi Leinweber,

According to an email from Hilary: &amp;quot;in general, use the refresh command on form open, the delete command to remove the list item from the form (or just delete the row) then the SubmitToSharePointList command to actually delete from the list. This user may not be submitting again. Refresh creates a list of all your current linked items so that Submit knows what to delete. &amp;quot;

One of us should be able to respond in further detail (or give a demo) sometime next week.

Thanks,
P</description></item><item><title>Re: Delete row from a repeating table using QRules</title><link>https://www.infopathdev.com:443/forums/thread/73989.aspx</link><pubDate>Sun, 15 Jan 2012 01:57:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73989</guid><dc:creator>Leinweber</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73989.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=73989</wfw:commentRss><description>&lt;p&gt;Doing some reading and realize the Delete command will not remove the record from the SharePoint list, just from the XML node and that I need to work with RefreshSharePointListItem to do what I want. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;However, I am lost. I am not able get the a SharePoint list item to get removed and no error, result or success indicators&amp;nbsp;are being generated. I don&amp;#39;t know if the trouble is my xpath Delete call or in my use of RefreshSharePointList. How can I debug this? I don&amp;#39;t know how to tell f the xpath delete is working or not ... or if the RefreshSharePointList call is working or not. What can I do to figure this out?&lt;/p&gt;</description></item><item><title>Re: Delete row from a repeating table using QRules</title><link>https://www.infopathdev.com:443/forums/thread/73987.aspx</link><pubDate>Sat, 14 Jan 2012 19:12:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73987</guid><dc:creator>Leinweber</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73987.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=73987</wfw:commentRss><description>&lt;p&gt;Would this work if I am popluating my repeating table with data from a SharePoint list? I have a repeating table that is bound to a data connection that pulls rows from a SharePoint list. I want my InfoPath form users to be able to delete rows in the SharePoint list from the form. I added a button with an on-click rule to run the following Qdabra command:&lt;/p&gt;
&lt;p&gt;concat(&amp;quot;Delete /xpath=/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[&amp;quot;, count(preceding-sibling::SharePointListItem_RW) + 1, &amp;quot;]&amp;quot;)&lt;/p&gt;
&lt;p&gt;When I preview my form, the data from the SharePoint list is displayed in the repeating table with a delete button next to each record. When I click on the delete button ... well nothing happens. The data stays in the SharePoint List and no information is displayed in the Qdabra Results, Success, or Error controls I have placed at the bottom of the form to help me debug the issue. &lt;/p&gt;
&lt;p&gt;Am I going about this the right way? Is there a different way I should be doing this?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Delete row from a repeating table using QRules</title><link>https://www.infopathdev.com:443/forums/thread/73458.aspx</link><pubDate>Wed, 04 Jan 2012 15:33:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73458</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73458.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=73458</wfw:commentRss><description>&lt;p&gt;That&amp;#39;s odd.&amp;nbsp; I wouldn&amp;#39;t expect it to need a space before the&amp;nbsp;comma there.&amp;nbsp; At any rate, I&amp;#39;m glad it helped!&lt;/p&gt;</description></item><item><title>Re: Delete row from a repeating table using QRules</title><link>https://www.infopathdev.com:443/forums/thread/73456.aspx</link><pubDate>Wed, 04 Jan 2012 14:54:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73456</guid><dc:creator>Jeroen de Lang</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73456.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=73456</wfw:commentRss><description>&lt;p&gt;Got it! Only thing the example needed was a space before the final comma to pass the formula validation (apart from the correct XPath of course).&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks!&lt;/p&gt;</description></item><item><title>Re: Delete row from a repeating table using QRules</title><link>https://www.infopathdev.com:443/forums/thread/73451.aspx</link><pubDate>Wed, 04 Jan 2012 13:02:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73451</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73451.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=73451</wfw:commentRss><description>&lt;p&gt;Assuming you have the delete button in each row of&amp;nbsp;the repeating table, it would be something like:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;concat(&amp;quot;Delete /xpath=/my:path/my:to/my:repeatingGroup[&amp;quot;, count(preceding-sibling::&lt;strong&gt;&lt;u&gt;my:repeatingGroup&lt;/u&gt;&lt;/strong&gt;) + 1, &amp;quot;]&amp;quot;)&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Delete row from a repeating table using QRules</title><link>https://www.infopathdev.com:443/forums/thread/73450.aspx</link><pubDate>Wed, 04 Jan 2012 12:47:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73450</guid><dc:creator>Jeroen de Lang</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73450.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=73450</wfw:commentRss><description>I have searched the forums and the Internet, but somehow the answers eludes me. How can i make a Rule that only deletes the current row in a repeating table? I can delete a specific line number, but how to retrieve that?</description></item></channel></rss>