<?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 Tools</title><link>https://www.infopathdev.com:443/forums/135.aspx</link><description>Community support for Qdabra tools, including Bulk Edit Tool, Bulk Reassignment Tool, Document Deployer, UDC Editor Tool, LDAP test tool, QdUpgrade WinForm Tool, Query Builder, Excel to XML tool, InfoPath to ShP List Tool and EmailBuilder.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Query Builder today - 30 days</title><link>https://www.infopathdev.com:443/forums/thread/55973.aspx</link><pubDate>Thu, 17 Jun 2010 17:17:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55973</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55973.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=135&amp;PostID=55973</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve accomplished this by having a (hidden) node in the form&amp;#39;s xml that does something like addDays(today,-30). Then I reference that value in QueryBuilder.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Query Builder today - 30 days</title><link>https://www.infopathdev.com:443/forums/thread/55955.aspx</link><pubDate>Thu, 17 Jun 2010 14:01:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55955</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55955.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=135&amp;PostID=55955</wfw:commentRss><description>&lt;p&gt;You&amp;#39;ll need to include a date calculation in your query to produce the minimum starting date, and then concatenate that into your query, like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;concat(&amp;#39;[abbreviated...]&amp;lt;gt&amp;gt;&amp;lt;column name&amp;quot;StartDate&amp;quot; /&amp;gt;&amp;lt;value&amp;gt;&amp;#39;, xdDate:AddDays(xdDate:Today(), -30), &amp;quot;&amp;lt;/value&amp;gt;&amp;lt;/gt&amp;gt;[abbreviated...]&amp;quot;)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;I have a feeling that query builder will not allow you to do this, but you can produce the bulk of your query in QueryBuilder, inserting a dummy value for the StartDate part, and then manually replace the dummy value with the &lt;strong&gt;xdDate:AddDays(xdDate:Today(), -30)&lt;/strong&gt; formula.&lt;/p&gt;</description></item><item><title>Query Builder today - 30 days</title><link>https://www.infopathdev.com:443/forums/thread/55954.aspx</link><pubDate>Thu, 17 Jun 2010 13:36:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55954</guid><dc:creator>Marzipan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55954.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=135&amp;PostID=55954</wfw:commentRss><description>&lt;p&gt;I&amp;#39;d like to create a query that will return all items where the start date is within 30 days.&lt;/p&gt;
&lt;p&gt;I found the caml example below online.&amp;nbsp; How would we do this with query builder?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font face="Lucida Console"&gt;&amp;lt;WHERE&amp;gt;&lt;br /&gt;&amp;lt;GE&amp;gt;&lt;br /&gt;&amp;lt;FieldRef Name=&amp;quot;StartDate&amp;quot;/&amp;gt;&lt;br /&gt;&amp;lt;Value Type=&amp;quot;DateTime&amp;quot;&amp;gt;&amp;lt;Today OffsetDays=-30 /&amp;gt;&amp;lt;/Value&amp;gt;&lt;br /&gt;&amp;lt;/GE&amp;gt;&lt;br /&gt;&amp;lt;/WHERE&amp;gt;&lt;/font&gt; &lt;/p&gt;</description></item></channel></rss>