<?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: A unique report number that starts over every year</title><link>https://www.infopathdev.com:443/forums/thread/34115.aspx</link><pubDate>Tue, 11 Nov 2008 15:31:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34115</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34115.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=34115</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am not sure how you are generating you sequential number but you should be able to detect when the year has changed and reset it.&lt;/p&gt;
&lt;p&gt;If you look at previous numbers then again use a substring function to analyze whether the year has changed from the last saved and if so reset.&lt;/p&gt;</description></item><item><title>Re: A unique report number that starts over every year</title><link>https://www.infopathdev.com:443/forums/thread/34102.aspx</link><pubDate>Tue, 11 Nov 2008 12:37:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34102</guid><dc:creator>mjarrett</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34102.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=34102</wfw:commentRss><description>Thanks Clay. What they want is it to go from 2008-456, 2008-457, 2008-458, then 2009-001, 2009-002. If this is not easily doable then they said that&amp;#39;s OK and not focus on it too much but I&amp;#39;m kind of a perfectionist. Thanks again for all your help! :)&lt;br /&gt;</description></item><item><title>Re: A unique report number that starts over every year</title><link>https://www.infopathdev.com:443/forums/thread/34033.aspx</link><pubDate>Sun, 09 Nov 2008 06:02:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34033</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34033.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=34033</wfw:commentRss><description>&lt;p&gt;I would use a substring function to harvest the current year from today&amp;#39;s date. Then use concatenate to create your file name.&lt;/p&gt;
&lt;p&gt;That way on 1/1 it will automatically take the new year.&lt;/p&gt;</description></item><item><title>A unique report number that starts over every year</title><link>https://www.infopathdev.com:443/forums/thread/34006.aspx</link><pubDate>Fri, 07 Nov 2008 16:30:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34006</guid><dc:creator>mjarrett</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34006.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=34006</wfw:commentRss><description>&lt;p&gt;I am having a small issue in determing the best way to go about generating a report number. The basic format we have is 2008-0001, 2008-0002, etc. But then on January 1st (every year) we want it to start over 2009-0001, 2010-0001, etc.&lt;/p&gt;
&lt;p&gt;Any suggestions on the best way to do this? I thought about using the ID number, or creating a seperate list, but I am kind of stuck? Also, not opposed to writing code I just want some best practice ideas.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for any support!&lt;/p&gt;</description></item></channel></rss>