<?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: set date field default value from three other fields?</title><link>https://www.infopathdev.com:443/forums/thread/72800.aspx</link><pubDate>Fri, 09 Dec 2011 14:06:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72800</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72800.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=72800</wfw:commentRss><description>&lt;p&gt;Well, my formula should work as long as the year is 4 digits and the month and day are 2 digits.&amp;nbsp; If they&amp;#39;re not, you&amp;#39;ll need to add the 20 or leading 0 to sure them up.&lt;/p&gt;</description></item><item><title>Re: set date field default value from three other fields?</title><link>https://www.infopathdev.com:443/forums/thread/72799.aspx</link><pubDate>Fri, 09 Dec 2011 13:59:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72799</guid><dc:creator>ehaze</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72799.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=72799</wfw:commentRss><description>I was trying different formats to see if one worked better than the other.</description></item><item><title>Re: set date field default value from three other fields?</title><link>https://www.infopathdev.com:443/forums/thread/72776.aspx</link><pubDate>Thu, 08 Dec 2011 20:26:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72776</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72776.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=72776</wfw:commentRss><description>&lt;p&gt;In your first post, you said year is 2011, and in the new post you said it&amp;#39;s 11.&amp;nbsp; Is it 4 digits or 2?&amp;nbsp; &lt;/p&gt;
&lt;p&gt;And your first post had ../ before the fields, but the new one has ../../../.&amp;nbsp; Why the change?&lt;/p&gt;</description></item><item><title>Re: set date field default value from three other fields?</title><link>https://www.infopathdev.com:443/forums/thread/72759.aspx</link><pubDate>Thu, 08 Dec 2011 16:51:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72759</guid><dc:creator>ehaze</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72759.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=72759</wfw:commentRss><description>same error.&lt;br /&gt;
&lt;br /&gt;
month is a string value (01)&lt;br /&gt;
day is a string value (01)&lt;br /&gt;
year is a string value (11)&lt;br /&gt;&lt;br /&gt;

concat(../../../my:Month, &amp;quot;-&amp;quot;, ../../../my:Day, &amp;quot;-&amp;quot;, ../../../my:Year)&lt;br /&gt;&lt;br /&gt;

Format of the Date field is MM/DD/YY</description></item><item><title>Re: set date field default value from three other fields?</title><link>https://www.infopathdev.com:443/forums/thread/72714.aspx</link><pubDate>Wed, 07 Dec 2011 19:31:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72714</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72714.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=72714</wfw:commentRss><description>&lt;p&gt;Give concat(../my:Year, &amp;#39;-&amp;#39;, ../my:Month, &amp;#39;-&amp;#39;, ../my:Day) a try.&lt;/p&gt;</description></item><item><title>set date field default value from three other fields?</title><link>https://www.infopathdev.com:443/forums/thread/72708.aspx</link><pubDate>Wed, 07 Dec 2011 18:53:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72708</guid><dc:creator>ehaze</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72708.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=72708</wfw:commentRss><description>month = 01 &lt;br /&gt;
day = 01 &lt;br /&gt;
year = 2012 &lt;br /&gt;
&lt;br /&gt;
I need to set a date field equal to the values above.&lt;br /&gt;

When I tried a concat statement, the date field is outlined in red and says &amp;#39;Only date allowed&amp;#39;.&lt;br /&gt;


concat(../my:Month, &amp;quot;/&amp;quot;, ../my:Day, &amp;quot;/&amp;quot;, ../my:Year)</description></item></channel></rss>