<?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: CopyRichText and Filtered Data</title><link>https://www.infopathdev.com:443/forums/thread/83926.aspx</link><pubDate>Fri, 26 Oct 2012 15:12:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83926</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83926.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=83926</wfw:commentRss><description>&lt;p&gt;There is a bit of a learning curve, as you no doubt have realized - and the enormous user guide can be a little off-putting...&lt;/p&gt;&lt;p&gt;I am doing an online&amp;nbsp;class in December for qRules - you can find more &lt;a href="http://www.qdabra.com/en/training/training.aspx"&gt;here&lt;/a&gt;&amp;nbsp;- there is a sidebar on the right with the training schedule.&lt;/p&gt;&lt;p&gt;A lot of times, it makes it easier to change your form to a filler form from browser form so you can use a message box and pop up whatever your formula you are using for the command evaluates to - sometimes that helps me see where my mistakes are. :-)&lt;/p&gt;</description></item><item><title>Re: CopyRichText and Filtered Data</title><link>https://www.infopathdev.com:443/forums/thread/83911.aspx</link><pubDate>Fri, 26 Oct 2012 02:40:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83911</guid><dc:creator>Kelly Anderson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83911.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=83911</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ll never tire of you.&amp;nbsp; :) You help me work things out.&amp;nbsp; I sort of get what you mean.&amp;nbsp; I&amp;#39;ll learn more as I use qRules more.&lt;/p&gt;&lt;p&gt;Thanks heaps for your help.&lt;/p&gt;</description></item><item><title>Re: CopyRichText and Filtered Data</title><link>https://www.infopathdev.com:443/forums/thread/83910.aspx</link><pubDate>Fri, 26 Oct 2012 01:29:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83910</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83910.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=83910</wfw:commentRss><description>&lt;p&gt;I swear I&amp;#39;m not the only one who ever answers these posts - you must be getting tired of me by now.&lt;/p&gt;&lt;p&gt;Okay, so what you are doing wrong is using the field picker when you should not be. Here&amp;#39;s what your formula shoud look like (with edit XPath checked):&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;concat(&amp;quot;CopyRichText /dsnamesrc=CommentList /xpathsrc=/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Comment[../d:Category =&amp;#39;&amp;quot;, &amp;nbsp;my:txtCategory1, &amp;quot;&amp;#39;] /xpathdest=/my:myFields/my:rtxtComment1&amp;quot;)&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;The thing is, what the Command cares about is the text value you are setting it to. You can set another field to the same value you are setting Command to (or set your form to Filler and use a message box with a formula) to help you see what you are doing a bit better, the concat formulas have a bit of a learning curve.&lt;/p&gt;&lt;p&gt;What I&amp;#39;ve done is change your formula so that inside the square bracket a relative path is used to get to Category (../d:Catagory) from d:Comment. Then, after the equal sign, before the regular quote, I added a single quote - same on the other side. What you want is a concat expression that evaluates to something like:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;CopyRichText /dsnamesrc=CommentList /xpathsrc=/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Comment[../d:Category =&amp;#39;SomeValue&amp;#39;] /xpathdest=/my:myFields/my:rtxtComment1&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Does that make sense?&lt;/p&gt;</description></item><item><title>CopyRichText and Filtered Data</title><link>https://www.infopathdev.com:443/forums/thread/83909.aspx</link><pubDate>Fri, 26 Oct 2012 00:38:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83909</guid><dc:creator>Kelly Anderson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83909.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=83909</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have a SP list called CommentList.&amp;nbsp; It has a rich text field called Comment.&amp;nbsp; I&amp;#39;m trying to display a record of the CommentList where the Category field matches txtCategory1.&amp;nbsp; Below is my command:&lt;/p&gt;&lt;p&gt;concat(&amp;quot;CopyRichText /dsnamesrc=CommentList /xpathsrc=/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Comment[&amp;quot;, &lt;u&gt;Category&lt;/u&gt; = &lt;u&gt;txtCategory1&lt;/u&gt;, &amp;quot;] /xpathdest=/my:myFields/my:rtxtComment1&amp;quot;)&lt;/p&gt;&lt;p&gt;Here is the xpath command:&lt;/p&gt;&lt;p&gt;concat(&amp;quot;CopyRichText /dsnamesrc=CommentList /xpathsrc=/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Comment[&amp;quot;, xdXDocument:GetDOM(&amp;quot;CommentList&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Category = my:txtCategory1, &amp;quot;] /xpathdest=/my:myFields/my:rtxtComment1&amp;quot;)&lt;/p&gt;&lt;p&gt;I am getting an error: Failed to select the source node to copy from.&lt;/p&gt;&lt;p&gt;What am I doing wrong?&amp;nbsp; Please help.&lt;/p&gt;&lt;p&gt;Thanks.&lt;/p&gt;</description></item></channel></rss>