<?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: qRules command not firing for calendar control</title><link>https://www.infopathdev.com:443/forums/thread/95191.aspx</link><pubDate>Mon, 13 Jan 2014 22:27:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95191</guid><dc:creator>TomRenfro</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95191.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=95191</wfw:commentRss><description>&lt;p&gt;Hi Hilary and Ernesto,&lt;/p&gt;
&lt;p&gt;Too late, jumped the gun and took them out!&amp;nbsp; It works anyway.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m just getting my command down cold for using a base of 8 hours to represent a work day.&amp;nbsp; I&amp;#39;ll get it figured out from the doc.&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;</description></item><item><title>Re: qRules command not firing for calendar control</title><link>https://www.infopathdev.com:443/forums/thread/95190.aspx</link><pubDate>Mon, 13 Jan 2014 22:10:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95190</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95190.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=95190</wfw:commentRss><description>&lt;p&gt;Hi, Tom - you can leave the injected qRules data source &amp;amp; XML instead of manually adding them as per the instructions for combining code &amp;amp; qRules.&lt;/p&gt;</description></item><item><title>Re: qRules command not firing for calendar control</title><link>https://www.infopathdev.com:443/forums/thread/95189.aspx</link><pubDate>Mon, 13 Jan 2014 22:01:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95189</guid><dc:creator>TomRenfro</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95189.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=95189</wfw:commentRss><description>&lt;p&gt;Thanks Ernesto.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Do I need to remove any injected data source?&lt;/p&gt;</description></item><item><title>Re: qRules command not firing for calendar control</title><link>https://www.infopathdev.com:443/forums/thread/95188.aspx</link><pubDate>Mon, 13 Jan 2014 21:51:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95188</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95188.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=95188</wfw:commentRss><description>&lt;p&gt;Hi Tom,&lt;/p&gt;
&lt;p&gt;qRules cannot be injected into forms with code using the qRules Injector. Instead, the qRules DLL must be added via the steps in this document:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/files/folders/qrules/entry56111.aspx"&gt;http://www.infopathdev.com/files/folders/qrules/entry56111.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;</description></item><item><title>qRules command not firing for calendar control</title><link>https://www.infopathdev.com:443/forums/thread/95186.aspx</link><pubDate>Mon, 13 Jan 2014 21:40:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95186</guid><dc:creator>TomRenfro</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95186.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=95186</wfw:commentRss><description>&lt;p&gt;Hi, I&amp;#39;m developing a form that should do a calculation using DateDiff.&amp;nbsp; Some preliminary information:&amp;nbsp; the form is injected with qRules, but is also Full Trust and using code, specifically C# code on a button click event.&lt;/p&gt;
&lt;p&gt;Here is how my rule is defined:&amp;nbsp; it&amp;#39;s on the calendar control, based on a field with a Date datatype.&amp;nbsp; The condition is to execute when the field changes.&amp;nbsp; I&amp;#39;m setting the qRules data source Command field to concat(&amp;quot;DateAdd /xpath=/my:RequestForTimeOff/my:LeaveRequested/my:BeginDate /&amp;quot;, UnitType, &amp;quot;=&amp;quot;, NbrUnits) where UnitType is either hours, days, or weeks, and NbrUnits is an integer.&amp;nbsp; The command is defined in the formula builder window of the value field.&amp;nbsp; The command is intended to populate another date field with the results, as in &amp;quot;Set a field&amp;#39;s value: EndDate = Result&amp;quot;, result from the qRules data source.&lt;/p&gt;
&lt;p&gt;The problem is when I test in Preview mode, the rule doesn&amp;#39;t appear to execute.&amp;nbsp; I&amp;#39;ve dragged the Success, Result, and Error fields onto my view and nothing appears.&lt;/p&gt;
&lt;p&gt;What might I be missing?&amp;nbsp; Can qRules not be used when code is in the form?&lt;/p&gt;</description></item></channel></rss>