<?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: Insert</title><link>https://www.infopathdev.com:443/forums/thread/72703.aspx</link><pubDate>Wed, 07 Dec 2011 16:41:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72703</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72703.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=72703</wfw:commentRss><description>&lt;p&gt;Hi Jason,&lt;/p&gt;&lt;p&gt;I believed you purchased qRules last month. We&amp;#39;d be glad to send you qRules v3.4 once it&amp;#39;s released since it will contain a fix for the Insert command.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Feel free to contact us via support at qdabra dot com.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thank you. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Insert</title><link>https://www.infopathdev.com:443/forums/thread/72697.aspx</link><pubDate>Wed, 07 Dec 2011 15:39:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72697</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72697.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=72697</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The Insert command&amp;#39;s default (and currently only) behavior is only to add children to the first node that matches the /parent XPath.&amp;nbsp; In qRules 3.4 (which is in beta right now), we&amp;#39;ve added the ability to add children to all of the nodes that match the /parent XPath, but typically, the desirable approach is to add just the right number of children to each specific location, instead of the same number to all of them.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;It looks like you forgot to resume the quoted part after your count(billcost) part.&amp;nbsp; This should a valid formula, though I can&amp;#39;t say for sure that the logic is quite right:&lt;/p&gt;
&lt;p&gt;concat(&amp;quot;Insert /parent=/my:Quote/my:Item_Detail[&amp;quot;, count(preceding-sibling::Item_Detail) + 1, &amp;quot;]/my:Bill_of_Material &lt;span style="COLOR:red;"&gt;/child=my:group10&lt;/span&gt; /count=&amp;quot;, count(billcost)&lt;span style="COLOR:red;"&gt;, &amp;quot; &lt;/span&gt;/xpathsrc=/my:Quote/my:Item_Detail/my:Bill_of_Material/my:group10&amp;quot;)&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Insert</title><link>https://www.infopathdev.com:443/forums/thread/72672.aspx</link><pubDate>Tue, 06 Dec 2011 21:31:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72672</guid><dc:creator>jschemmel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72672.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=72672</wfw:commentRss><description>&lt;p&gt;I have a repeating table that is inside a repeating section.&amp;nbsp; I have a button that uses the qrules insert command to add a row to the repeating table.&lt;/p&gt;
&lt;p&gt;However, when a second&amp;nbsp;instance of the repeating section is added, when I click the button, it inserts the row on the table inside the first section only.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;My original insert command is:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;concat(&amp;quot;Insert /parent=/my:Quote/my:Item_Detail/my:Bill_of_Material&amp;nbsp; /child=/my:group10&amp;nbsp; /count=&amp;quot;, count(billcost))&lt;/p&gt;
&lt;p&gt;Based on some forum&amp;nbsp;feedback, I tried:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;concat(&amp;quot;Insert /parent=/my:Quote/my:Item_Detail[&amp;quot;, count(preceding-sibling::Item_Detail) + 1, &amp;quot;]/my:Bill_of_Material /count=&amp;quot;, count(billcost) /xpathsrc=/my:Quote/my:Item_Detail/my:Bill_of_Material/my:group10&amp;quot;)&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;but this renders an error: &amp;nbsp;The text is missing a closing quotation mark.&amp;quot; But I am not sure waht is wrong with my syntax.&lt;/p&gt;
&lt;p&gt;Any help is appreciated.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>