<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Add Days to date based on value in another field</title><link>https://www.infopathdev.com:443/forums/thread/121919.aspx</link><pubDate>Fri, 08 Nov 2019 16:16:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121919</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121919.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121919</wfw:commentRss><description>Is this a list form? The type of column comes into play here. I&amp;#39;d assume the result of the addDays formula would be a date time?</description></item><item><title>Re: Add Days to date based on value in another field</title><link>https://www.infopathdev.com:443/forums/thread/121918.aspx</link><pubDate>Fri, 08 Nov 2019 16:05:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121918</guid><dc:creator>Ruenells</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121918.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121918</wfw:commentRss><description>I am having an issues with adding dates I can get this to work addDays(equiporderbked, 180) however, when I try to submit the form in Sharepoint it says it can only be an integer.  I change it to integer and republish same issue, change to string same thing.  What am i missing to get this to work?</description></item><item><title>Re: Add Days to date based on value in another field</title><link>https://www.infopathdev.com:443/forums/thread/102416.aspx</link><pubDate>Wed, 06 May 2015 14:40:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102416</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102416.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=102416</wfw:commentRss><description>&lt;p&gt;Aren&amp;#39;t those backwards in the formula? &lt;a href="https://support.office.com/en-gb/article/Add-days-to-a-date-fe3d1c01-2409-43f1-bfc4-8d7f953247a6?ui=en-US&amp;amp;rs=en-GB&amp;amp;ad=GB&amp;amp;fromAR=1"&gt;https://support.office.com/en-gb/article/Add-days-to-a-date-fe3d1c01-2409-43f1-bfc4-8d7f953247a6?ui=en-US&amp;amp;rs=en-GB&amp;amp;ad=GB&amp;amp;fromAR=1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I think you want addDays(today(), Reminder).&lt;/p&gt;</description></item><item><title>Re: Add Days to date based on value in another field</title><link>https://www.infopathdev.com:443/forums/thread/102376.aspx</link><pubDate>Mon, 04 May 2015 05:39:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102376</guid><dc:creator>TCI2013</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102376.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=102376</wfw:commentRss><description>Did you ever resolve this issue? I&amp;#39;m having the same problem. I am using a text field however [Reminder], type is number, no decimals. The formula shows no errors, addDays(Reminder, today()), but when I test the form, the resulting date field shows an error when I set a &amp;#39;Reminder&amp;#39; number.</description></item><item><title>Re: Add Days to date based on value in another field</title><link>https://www.infopathdev.com:443/forums/thread/99443.aspx</link><pubDate>Tue, 07 Oct 2014 09:53:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99443</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99443.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=99443</wfw:commentRss><description>&lt;p&gt;Hi d24n4e,&lt;br /&gt;&lt;br /&gt;Your formula is correct. using &lt;em&gt;addDays(Quote Received Date, &lt;strong&gt;Daysfield&lt;/strong&gt;)&lt;/em&gt; should work for adding or subtracting dates. Is your date picker&amp;#39;s data type format set to date and time? Please try changing the format to date only or text and see if that works. If not, kindly attach a sample of your form so I&amp;nbsp;could get a clearer idea of what isn&amp;#39;t working for you.&lt;br /&gt;&lt;br /&gt;Regards,&amp;nbsp;&lt;/p&gt;</description></item><item><title>Add Days to date based on value in another field</title><link>https://www.infopathdev.com:443/forums/thread/99342.aspx</link><pubDate>Tue, 30 Sep 2014 12:03:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99342</guid><dc:creator>d24n4e</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99342.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=99342</wfw:commentRss><description>&lt;p&gt;Good afternoon,&lt;/p&gt;&lt;p&gt;I am trying to add days to an expiry&amp;nbsp;date field&amp;nbsp;based on a variable value in a field that is a look up to a secondary data source i.e. it may be 30 days or 60 days depending on the content of another field.&amp;nbsp; However, I get ERR? in the date field.&amp;nbsp; If I just use the formula addDays(Quote Received Date, 30) then it works fine, but how can I get it work with the formula&amp;nbsp;addDays(Quote Received Date, &lt;strong&gt;Daysfield&lt;/strong&gt;) rather than defining the number of days? The value to be added will definitely vary due to the criteria within the form, which is why I have set up rules to correctly populate the number of days to be added in&amp;nbsp;the Days field.&lt;/p&gt;&lt;p&gt;I would be so grateful if anyone can please help!!&lt;/p&gt;&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>