<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Date() plus 3 days</title><link>https://www.infopathdev.com:443/forums/thread/7486.aspx</link><pubDate>Wed, 24 Aug 2005 06:22:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7486</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7486.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7486</wfw:commentRss><description>Ooh, very cool solution! Nice work WCO!&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: Date() plus 3 days</title><link>https://www.infopathdev.com:443/forums/thread/7485.aspx</link><pubDate>Tue, 23 Aug 2005 18:48:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7485</guid><dc:creator>wcotech</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7485.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7485</wfw:commentRss><description>Hey Patrick,&lt;br /&gt;&lt;br /&gt;Sine code and I don't work well together most of the time, I found another figuratively simple way to acheive my request.  In my Access Project, I created a query that uses the formula "DATEADD(D,3,GETDATE())".  I then created a secondary data connection to this field and now use it to compare to the start date.  Works great, less filling!!!&lt;br /&gt;&lt;br /&gt;Thanks Patrick!</description></item><item><title>Re: Date() plus 3 days</title><link>https://www.infopathdev.com:443/forums/thread/7484.aspx</link><pubDate>Thu, 18 Aug 2005 00:02:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7484</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7484.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7484</wfw:commentRss><description>Here's another link on how to do this in JScript:&lt;br /&lt;a target="_blank" href=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvid/html/msdn_vidateadd.asp&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvid/html/msdn_vidateadd.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: Date() plus 3 days</title><link>https://www.infopathdev.com:443/forums/thread/7483.aspx</link><pubDate>Wed, 17 Aug 2005 23:59:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7483</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7483.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7483</wfw:commentRss><description>Hi WCO!&lt;br /&gt;Dates are different data types than whole numbers. You will need to add some code (OnAfterChange event handler function) to take apart the Date object and subtract 3 days from it and check it against Today. If it's true you can display a message box from code, or set some field that controls the message box. Dealing with dates is a frequent request. Check out the following MS blog on them:&lt;a target="_blank" href=http://blogs.msdn.com/infopath/archive/2005/01/25/360318.aspx&gt;http://blogs.msdn.com/infopath/archive/2005/01/25/360318.aspx&lt;/a&gt; &lt;br /&gt;Good luck&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Date() plus 3 days</title><link>https://www.infopathdev.com:443/forums/thread/4857.aspx</link><pubDate>Wed, 17 Aug 2005 19:56:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4857</guid><dc:creator>wcotech</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4857.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4857</wfw:commentRss><description>Hey all,&lt;br /&gt;&lt;br /&gt;I'm trying a condition and don't think it's working right.  What I'm looking for is: "If [start date] is less than 3 days from today, display "72 hours" in a message box.  The condition that I have tried is: [start date] is less than ---&amp;gt;"today()+3" &amp;lt;---this a formula, which hasn't worked so far.  If I take the "+3" off then the formula works great but I need to be able to check for a three day range.  Any ideas?&lt;br /&gt;&lt;br /&gt;Thanks!</description></item></channel></rss>