<?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: Copy field values in Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/62300.aspx</link><pubDate>Tue, 14 Dec 2010 18:36:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62300</guid><dc:creator>greenawayr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62300.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=62300</wfw:commentRss><description>&lt;p&gt;Ha, Success.&lt;/p&gt;
&lt;p&gt;Thank you both very much for your help and patience. This form is very nearly finished now and I&amp;#39;m not sure I&amp;#39;d have got there without this forum.&lt;/p&gt;</description></item><item><title>Re: Copy field values in Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/62292.aspx</link><pubDate>Tue, 14 Dec 2010 16:52:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62292</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62292.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=62292</wfw:commentRss><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;I still had a copy of your template on my machine. Try:&lt;/p&gt;
&lt;p&gt;count(preceding-sibling::ns1:Clients) = 0&lt;/p&gt;</description></item><item><title>Re: Copy field values in Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/62289.aspx</link><pubDate>Tue, 14 Dec 2010 16:27:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62289</guid><dc:creator>greenawayr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62289.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=62289</wfw:commentRss><description>&lt;p&gt;no, the repeating group is called clients. &lt;/p&gt;
&lt;p&gt;Data structure on page 1 if you need to see how it looks&lt;/p&gt;</description></item><item><title>Re: Copy field values in Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/62283.aspx</link><pubDate>Tue, 14 Dec 2010 15:01:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62283</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62283.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=62283</wfw:commentRss><description>&lt;p&gt;Are you sure the field isn&amp;#39;t actually named &lt;strong&gt;my:Clients &lt;/strong&gt;or something like that?&lt;/p&gt;</description></item><item><title>Re: Copy field values in Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/62278.aspx</link><pubDate>Tue, 14 Dec 2010 13:54:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62278</guid><dc:creator>greenawayr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62278.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=62278</wfw:commentRss><description>&lt;p&gt;count(preceding-sibling::Clients) = 0&lt;/p&gt;
&lt;p&gt;Hi Jimmy,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. I placedthe above in the expression field of the conditional formatting dialog and set it to hide the control. Unfortunately, whilst this hid the control fine, it didn&amp;#39;t appear wen I added a second client. I tried placing the control inside and outside of the repeating section, but no change.&lt;/p&gt;</description></item><item><title>Re: Copy field values in Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/62275.aspx</link><pubDate>Tue, 14 Dec 2010 11:53:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62275</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62275.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=62275</wfw:commentRss><description>&lt;p&gt;If you hide the button when the following expression is true:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;count(preceding-sibling::&lt;strong&gt;&lt;em&gt;&lt;u&gt;repeatingGroupNode&lt;/u&gt;&lt;/em&gt;&lt;/strong&gt;) = 0&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;that should work for what you&amp;#39;re describing.&lt;/p&gt;</description></item><item><title>Re: Copy field values in Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/62273.aspx</link><pubDate>Tue, 14 Dec 2010 09:12:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62273</guid><dc:creator>greenawayr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62273.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=62273</wfw:commentRss><description>&lt;p&gt;On the same button, but with a different problem, I&amp;#39;ve been asked to place this button in the repeating section so it&amp;#39;s intuitive as to what client it will work with, but I need to come up with a way of hiding the button for the first instance of my client section.&lt;/p&gt;
&lt;p&gt;First of all I thought the count function might work, but without succeeding, I have a feeling that doing this will just make the control disappear and then appear in ALL sections when there is more than one instance.&lt;/p&gt;
&lt;p&gt;Any ideas on hiding the control on the first instance and then showing it on the rest if they are created?&lt;/p&gt;</description></item><item><title>Re: Copy field values in Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/62229.aspx</link><pubDate>Mon, 13 Dec 2010 11:56:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62229</guid><dc:creator>greenawayr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62229.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=62229</wfw:commentRss><description>&lt;p&gt;Thanks Hilary,&lt;/p&gt;
&lt;p&gt;I have used the concat function before, but purely on text and field uses, I&amp;#39;ve not built formulas into them before.&lt;/p&gt;
&lt;p&gt;There were just a couple of small changes I&amp;#39;ve had to make, but for anyone interest the formula is as below&lt;/p&gt;
&lt;p&gt;concat(&amp;quot;SetValue /xpath=dfs:myFields/dfs:dataFields/tns:GetFormDatasetResponse/tns:GetFormDatasetResult/ns1:dsForms/ns1:Clients[&amp;quot;, count(preceding::Clients), &amp;quot;]/ns1:CustAddress1 /value=&amp;quot;, Clients[1]/CustAddress1)&lt;/p&gt;</description></item><item><title>Re: Copy field values in Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/62182.aspx</link><pubDate>Fri, 10 Dec 2010 19:36:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62182</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62182.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=62182</wfw:commentRss><description>&lt;p&gt;You have some switched commas and quotes right here:&lt;/p&gt;
&lt;p&gt;concat(&amp;quot;SetValue /xpath=dfs:myFields/dfs:dataFields/tns:GetFormDatasetResponse/tns:GetFormDatasetResult/ns1:dsForms/ns1:Clients&lt;strong&gt;[, &amp;quot; &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;That should be [&amp;quot;,&lt;/p&gt;
&lt;p&gt;That being said, it seems like it might be helpful to clarify for you how the concat formula works. The concat formula takes as arguments comma separated values, like:&lt;/p&gt;
&lt;p&gt;concat(field1, field2, &amp;quot;Some text&amp;quot;)&lt;/p&gt;
&lt;p&gt;Anything that is a field or a formula would not be in quotes, anything that is a regular bit of text &lt;em&gt;would&lt;/em&gt; be in quotes, like the concat above. So, let&amp;#39;s pretend that field1 has a value of &amp;quot;grape&amp;quot; and field2 has a value of &amp;quot;orange&amp;quot; and we are going to display our concat formula in an expression box on our form. We&amp;#39;d see this in our expression box:&lt;/p&gt;
&lt;p&gt;grapeorangeSome text&lt;/p&gt;
&lt;p&gt;Not too pretty. We can modify our formula to include some spaces!&lt;/p&gt;
&lt;p&gt;concat(field1, &amp;quot; &amp;quot;, field2, &amp;quot; Some text&amp;quot;)&lt;/p&gt;
&lt;p&gt;Now we&amp;#39;d have&lt;/p&gt;
&lt;p&gt;grape orange Some text&lt;/p&gt;
&lt;p&gt;Mind you, the text makes no sense, but at least it is nicely formatted. For more about basic formulas and functions in InfoPath, check out this Office Online &lt;a href="http://office.microsoft.com/en-us/infopath-help/about-formulas-and-functions-HP001098208.aspx?CTT=3" target="_blank"&gt;article&lt;/a&gt;. And this &lt;a href="http://office.microsoft.com/en-us/infopath-help/insert-a-formula-HP001097083.aspx?CTT=3" target="_blank"&gt;one&lt;/a&gt;, and this &lt;a href="http://office.microsoft.com/en-us/infopath-help/functions-in-infopath-HP001155281.aspx" target="_blank"&gt;one&lt;/a&gt;, too. &lt;/p&gt;</description></item><item><title>Re: Copy field values in Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/62172.aspx</link><pubDate>Fri, 10 Dec 2010 15:29:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62172</guid><dc:creator>greenawayr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62172.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=62172</wfw:commentRss><description>&lt;p&gt;Sorry to be a pain but I&amp;#39;m getting this error when I check the formula&lt;/p&gt;
&lt;p&gt;Expected value type: ,&lt;/p&gt;
&lt;p&gt;Actual value: name&lt;br /&gt;concat(&amp;quot;SetValue /xpath=dfs:myFields/dfs:dataFields/tns:GetFormDatasetResponse/tns:GetFormDatasetResult/ns1:dsForms/ns1:Clients[, &amp;quot; --&amp;gt;count&amp;lt;--(preceding::ns1:Clients) + 1, &amp;quot;]/ns1:CustAddress1 /value=&amp;quot;, dfs:myFields/dfs:dataFields/tns:GetFormDatasetResponse/tns:GetFormDatasetResult/ns1:dsForms/ns1:Clients[1]/ns1:CustAddress1) &lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried messing around with this and putting comma&amp;#39;s in different places around this count function, but as yet, no joy!&lt;/p&gt;</description></item><item><title>Re: Copy field values in Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/62129.aspx</link><pubDate>Thu, 09 Dec 2010 17:42:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62129</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62129.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=62129</wfw:commentRss><description>&lt;p&gt;The formula needs to go into the formula editor. Next to the value box in the rule action is a button that looks like this: &lt;strong&gt;&lt;em&gt;fx&lt;/em&gt;&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;Click that button, then paste your formula in the editor box.&lt;/p&gt;</description></item><item><title>Re: Copy field values in Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/62128.aspx</link><pubDate>Thu, 09 Dec 2010 17:37:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62128</guid><dc:creator>greenawayr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62128.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=62128</wfw:commentRss><description>&lt;p&gt;Thanks for that, I didn&amp;#39;t realise that about the error node. It&amp;#39;s giving me this&lt;/p&gt;
&lt;p&gt;An error has occurred executing the rule. Invalid command specified: concat&lt;/p&gt;</description></item><item><title>Re: Copy field values in Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/62126.aspx</link><pubDate>Thu, 09 Dec 2010 17:06:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62126</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62126.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=62126</wfw:commentRss><description>&lt;p&gt;Your XPaths are incorrect, and I&amp;#39;m seeing some odd characters in them. The original &lt;strong&gt;&amp;lt;&amp;gt;&lt;/strong&gt; marks were to indicate place holders. &lt;/p&gt;concat(&amp;quot;SetValue /xpath=dfs:myFields/dfs:dataFields/tns:GetFormDatasetResponse/tns:GetFormDatasetResult/ns1:dsForms/ns1:Clients[,&amp;quot; count(preceding::ns1:Clients) + 1, &amp;quot;]/&lt;strong&gt;ns1:&lt;/strong&gt;CustAddress1 /value=&amp;quot;, dfs:myFields/dfs:dataFields/tns:GetFormDatasetResponse/tns:GetFormDatasetResult/ns1:dsForms/&lt;strong&gt;ns1:&lt;/strong&gt;Clients[1]/&lt;strong&gt;ns1:&lt;/strong&gt;CustAddress1) 
&lt;p&gt;Be sure while testing you have the QdabraRules error node visible somewhere in your form -- you&amp;#39;ll want to be able to see any error messages.&lt;/p&gt;</description></item><item><title>Re: Copy field values in Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/62125.aspx</link><pubDate>Thu, 09 Dec 2010 16:49:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62125</guid><dc:creator>greenawayr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62125.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=62125</wfw:commentRss><description>&lt;p&gt;So I have the following&lt;/p&gt;
&lt;p&gt;Action - Set a fields value&lt;/p&gt;
&lt;p&gt;Field - Command&lt;/p&gt;
&lt;p&gt;Value - concat(&amp;quot;SetValue /xpath=&amp;lt;/dfs:myFields/dfs:dataFields/tns:GetFormDatasetResponse/tns:GetFormDatasetResult/ns1:dsForms/ns1:Clients[,&amp;quot; &amp;lt;count(preceding::ns1:Clients) + 1&amp;gt;, &amp;quot;]/CustAddress1 /value=&amp;quot;, &amp;lt;/dfs:myFields/dfs:dataFields/tns:GetFormDatasetResponse/tns:GetFormDatasetResult/ns1:dsForms&amp;gt;/Clients[1]/CustAddress1)&lt;/p&gt;
&lt;p&gt;but no joy. Clearly doing something stupid here.&lt;/p&gt;</description></item><item><title>Re: Copy field values in Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/62120.aspx</link><pubDate>Thu, 09 Dec 2010 15:50:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62120</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62120.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=62120</wfw:commentRss><description>&lt;p&gt;count(preceding::ns1:Clients) + 1 will get you the index of the current client section in the rule on your button.&lt;/p&gt;</description></item></channel></rss>