<?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: Correct Syntax for pulling dynamic date range</title><link>https://www.infopathdev.com:443/forums/thread/85888.aspx</link><pubDate>Tue, 08 Jan 2013 22:13:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85888</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85888.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=85888</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m thinking you&amp;#39;ll need to combine BETWEEN w/ addDays - something like:&lt;/p&gt;&lt;p&gt;concat(&amp;quot;ModifySqlQuery /dsname=ByteproAGS /where=where Status.ClosedDate between &amp;#39;&amp;quot;,&amp;nbsp; addDays(today(), -365),&amp;nbsp; &amp;quot;&amp;#39; and &amp;#39;&amp;quot;, today(), &amp;quot;&amp;#39; and Loan.LoanWith is not null and Borrower.SSN=&amp;#39;&amp;quot;, SSN, &amp;quot;&amp;#39;&amp;quot;)&lt;/p&gt;</description></item><item><title>Re: Correct Syntax for pulling dynamic date range</title><link>https://www.infopathdev.com:443/forums/thread/85886.aspx</link><pubDate>Tue, 08 Jan 2013 20:33:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85886</guid><dc:creator>douglasjenn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85886.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=85886</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m using SQL 2008.&amp;nbsp; It isn&amp;#39;t time specific.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;What I&amp;#39;m needing in other words is, if at any given moment the query is run, if it is&amp;nbsp;356&amp;nbsp;days&amp;nbsp;or less from the &amp;quot;closed date&amp;quot; value to now(), pull the result.&amp;nbsp; I&amp;#39;m new to this language so please forgive me.&lt;/p&gt;</description></item><item><title>Re: Correct Syntax for pulling dynamic date range</title><link>https://www.infopathdev.com:443/forums/thread/85859.aspx</link><pubDate>Tue, 08 Jan 2013 15:47:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85859</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85859.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=85859</wfw:commentRss><description>&lt;p&gt;You&amp;#39;d use a concat and some formulas for getting the correct range values - what version of SQL are you on? If 2005 or later, you can use &lt;a href="http://msdn.microsoft.com/en-us/library/ms187922(v=sql.90).aspx"&gt;BETWEEN&lt;/a&gt; otherwise you&amp;#39;d need ClosedDate &amp;lt; ... and ClosedDate &amp;gt; ....&lt;/p&gt;&lt;p&gt;Do the values in ClosedDate include time?&lt;/p&gt;</description></item><item><title>Correct Syntax for pulling dynamic date range</title><link>https://www.infopathdev.com:443/forums/thread/85857.aspx</link><pubDate>Tue, 08 Jan 2013 15:35:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85857</guid><dc:creator>douglasjenn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85857.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=85857</wfw:commentRss><description>&lt;p&gt;I need to modify the following statement to only return rows from a SQL database where the &amp;quot;closed date&amp;quot; has been within the past 12 months (moving target since the query could be run at anytime during the year).&amp;nbsp; What is the correct syntax to handle this?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;concat(&amp;quot;ModifySqlQuery /dsname=ByteproAGS /where=where Status.ClosedDate is not null and Loan.LoanWith is not null and Borrower.SSN=&amp;#39;&amp;quot;, SSN, &amp;quot;&amp;#39;&amp;quot;)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks.&lt;/p&gt;</description></item></channel></rss>