<?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: Dynamic Year Generation</title><link>https://www.infopathdev.com:443/forums/thread/76967.aspx</link><pubDate>Thu, 29 Mar 2012 04:40:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76967</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76967.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=76967</wfw:commentRss><description>&lt;p&gt;Hello and welcome to InfoPathdev!&lt;/p&gt;&lt;p&gt;I think you can use substring function to check if data is equal to May-Sept or Oct-April. You can download a free sample of date formulas &lt;a href="http://www.infopathdev.com/files/folders/examples/entry41104.aspx"&gt;here&lt;/a&gt;. &lt;/p&gt;&lt;p&gt;Based on your substring condition, you can do substring again to get the year for May and calculate September&amp;#39;s year + 1. For Oct-April, just substring the year for April.&lt;/p&gt;&lt;p&gt;The next challenge is - how do you put those values in the dropdown box? Anyway, I hope this idea will help you get started..&lt;/p&gt;</description></item><item><title>Dynamic Year Generation</title><link>https://www.infopathdev.com:443/forums/thread/76966.aspx</link><pubDate>Thu, 29 Mar 2012 03:44:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76966</guid><dc:creator>signcross</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76966.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=76966</wfw:commentRss><description>&lt;p&gt;Im not sure whether its possible without custom coding or not. Really looking for the help...Been couple of days, looking on this problem but still not able to figure out how to achieve it.Im using Sharepoint 2010, default form. Here&amp;#39;s the requirement:&lt;/p&gt;&lt;p&gt;Need to generate value (in this case Year) in dropdown box based on Current Year.&lt;/p&gt;&lt;p&gt;For example: if the current date falls between, &lt;/p&gt;&lt;p&gt;1st May, 2012 - 30th Sept, 2012, the values on dropdown box should be  2012 and 2013&lt;/p&gt;&lt;p&gt;1st Oct, 2012 -   30th April, 2013, the value on dropdown box should be only 2013&lt;/p&gt;&lt;p&gt;1st May, 2013 - 30th Sept, 2013, the values on dropdown box should be  2013 and 2014&lt;/p&gt;&lt;p&gt;1st Oct, 2013-   30th April, 2014, the value on dropdown box should be only 2014&lt;/p&gt;&lt;p&gt;and similarly goes on....&lt;/p&gt;&lt;p&gt; Any help will be really appreciated.... Hoping for some kind of ideas or help...&lt;/p&gt;&lt;p&gt;Thanks in advance....&lt;/p&gt;</description></item></channel></rss>