<?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: How do I use qRules to calculate field values based on other form fields?</title><link>https://www.infopathdev.com:443/forums/thread/79516.aspx</link><pubDate>Thu, 14 Jun 2012 20:02:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79516</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79516.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=79516</wfw:commentRss><description>&lt;p&gt;Hi-&lt;/p&gt;&lt;p&gt;I see, sorry for the confusion.&lt;/p&gt;&lt;p&gt;qRules can&amp;#39;t be used within a formula. You&amp;#39;ll have to set the &lt;b&gt;Command &lt;/b&gt;node to your &lt;b&gt;DateDiff &lt;/b&gt;(using the correct command syntax). Executing this command will populate the &lt;b&gt;QdabraRules &lt;/b&gt;&amp;gt; &lt;b&gt;Result &lt;/b&gt;node. Then you could have a separate rule that stores that result somewhere. Perhaps you&amp;#39;ll store the result in a node in your schema and that node is not displayed in the canvas. Once you have the node in your schema, with the value of &lt;b&gt;Result &lt;/b&gt;store in it, then you can use that value as desired in other calculations. Does that make sense? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How do I use qRules to calculate field values based on other form fields?</title><link>https://www.infopathdev.com:443/forums/thread/79509.aspx</link><pubDate>Thu, 14 Jun 2012 19:13:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79509</guid><dc:creator>DC Forms</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79509.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=79509</wfw:commentRss><description>&lt;p&gt;Hi Ernesto,&lt;/p&gt;&lt;p&gt;I have read the DateDiff example in the User Guide. It is a standalone example, it does not show how to use the command in line with a calculation.&lt;/p&gt;&lt;p&gt;I am trying to build a rule that executes when the field &amp;#39;All In Rate&amp;#39; changes that calculates and populates the &amp;#39;Dollar Discount&amp;#39; field. See attached screen capture.&lt;/p&gt;&lt;p&gt;The DateDiff example is only returning data in a debug field, not to a specified field. Is there a tutorial, webcast, or other documentation that explains how to use qRules in formulas?&lt;/p&gt;</description></item><item><title>Re: How do I use qRules to calculate field values based on other form fields?</title><link>https://www.infopathdev.com:443/forums/thread/79501.aspx</link><pubDate>Thu, 14 Jun 2012 18:05:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79501</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79501.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=79501</wfw:commentRss><description>&lt;p&gt;Hi-&lt;/p&gt;&lt;p&gt;qRules has a command called DateDiff (used as an example in the User Guide and the Quick Start). This command would take the place of DATEDIF.&lt;/p&gt;&lt;p&gt;The syntax of the DateDiff command in qRules is similar to that in SharePoint. You&amp;#39;ll find full details in the user guide, but let us know if something isn&amp;#39;t clear. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;The rest of the calculations can be handled via regular InfoPath rules, no qRules required.&lt;/p&gt;&lt;p&gt;Hope this helps! &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>How do I use qRules to calculate field values based on other form fields?</title><link>https://www.infopathdev.com:443/forums/thread/79500.aspx</link><pubDate>Thu, 14 Jun 2012 17:06:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79500</guid><dc:creator>DC Forms</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79500.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=79500</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m somewhat new to InfoPath and completely new to qRules. I have a form with several fields that need to be calculated based on the values of other form fields. I am going through the qRules v4.1 User Guide Change Log to see what rules are available. It is difficult to find the rule or rules I need to use.&lt;/p&gt;&lt;p&gt;For background; currently the form is a SharePoint list form rendered in the browser. In the next iteration of&amp;nbsp;my application the form will remain a browser rendered form but work with database tables and SharePoint lists using DBXL. Right now I have SharePoint 2010 calculating the values. The users want to see the calculations appear on the forms as they are filling it out instead of having to wait for the form submission to the SharePoint list.&lt;/p&gt;&lt;p&gt;The calculations being performed in SharePoint are:&lt;/p&gt;&lt;p&gt;/*&amp;nbsp;dollarDiscount */ =parAmount*allInRate*(DATEDIF(settlementDate,maturityDate,&amp;quot;d&amp;quot;)/discountDays)&lt;/p&gt;&lt;p&gt;/* price */ =1-(dollarDiscount/parAmount)&lt;/p&gt;&lt;p&gt;/*totalProceeds */&amp;nbsp;=parAmount-dollarDiscount&lt;/p&gt;&lt;p&gt;The last two calculations rely on the first calculation. All variables are form fields.&lt;/p&gt;&lt;p&gt;How do I best use qRules to accomplish the above?&lt;/p&gt;</description></item></channel></rss>