<?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: Keep a fields value</title><link>https://www.infopathdev.com:443/forums/thread/74523.aspx</link><pubDate>Tue, 24 Jan 2012 22:56:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74523</guid><dc:creator>jaxkookie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74523.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=74523</wfw:commentRss><description>&lt;p&gt;This will not be an easy task unless you create a seconday table that stores and provides your numbering. The ID is perfect for this use, but this is unavailable until form is submitted. Now some will argue that you can create a data connection connection to the library and return the ID. this would allow you to&amp;nbsp;do &amp;quot;max(@ID) +1. the only drawback from this method is 2 users could&amp;nbsp;open a form at the same time having the same ID.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If the form does not need to be named in sequential order and get away with another naming convention, you can promote a field that can solve for your issue. This will allow you to retrieve the item ID from SP and concat its value to the promoted field.&lt;/p&gt;</description></item><item><title>Keep a fields value</title><link>https://www.infopathdev.com:443/forums/thread/74512.aspx</link><pubDate>Tue, 24 Jan 2012 19:47:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74512</guid><dc:creator>Jay@Work</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74512.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=74512</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m trying to find a way to use a sequential numbering system to name forms that are submitted to a forms library in SP 2010 (also Infopath 2010)&lt;/p&gt;
&lt;p&gt;The form naming convention will be OPxx where xx is a sequential number. 1 number higher than the previously submitted form.&lt;br /&gt;I created a field LastUsedNumber and when the form loads there are 2 rules&lt;br /&gt;LastUsedNumber = LastUsedNumber + 1&lt;br /&gt;FormNumber = concat(&amp;quot;OP&amp;quot;,LastUsedNumber)&lt;/p&gt;
&lt;p&gt;But of course each time the form loads LastUsedNumber is blank so FormNumber will always be OP1&lt;/p&gt;
&lt;p&gt;How can I persist this value somehow in this browser enabled form or do I need to look at storing it elsewhere?&lt;/p&gt;</description></item></channel></rss>