<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Unique ID Generation</title><link>https://www.infopathdev.com:443/forums/thread/36450.aspx</link><pubDate>Wed, 31 Dec 2008 11:41:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36450</guid><dc:creator>kalaicompute</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36450.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36450</wfw:commentRss><description>&lt;span style="FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font size="3"&gt;I guess it will help you. &lt;/font&gt;&lt;a href="http://bladah.com/?p=51"&gt;&lt;font color="#800080" size="3"&gt;http://bladah.com/?p=51&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;</description></item><item><title>Re: Unique ID Generation</title><link>https://www.infopathdev.com:443/forums/thread/35476.aspx</link><pubDate>Mon, 08 Dec 2008 14:01:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35476</guid><dc:creator>Frederik Van Lierde</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35476.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=35476</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Add a submit button to the page&lt;br /&gt;Select to use Action: Rules and Custom Code&lt;br /&gt;Add 3 Actions:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;1. Action Query using a dataconnection to get the new number&lt;br /&gt;&amp;nbsp;2. Set the ID textbox to 1 if previous action returns Nan&amp;nbsp;(Using Set Condition)&lt;br /&gt;&amp;nbsp;3. Action: Submit using a dataconnection to submit the form&lt;/p&gt;
&lt;p&gt;Frederik Van Lierde&lt;/p&gt;</description></item><item><title>Re: Unique ID Generation</title><link>https://www.infopathdev.com:443/forums/thread/35379.aspx</link><pubDate>Fri, 05 Dec 2008 16:13:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35379</guid><dc:creator>Geekavenger</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35379.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=35379</wfw:commentRss><description>&lt;p&gt;Just thinking out loud here, I thought of a messy way in which I would accomplish this (and this is by no means Ideal but I think it will accomplish your goal)&lt;/p&gt;
&lt;p&gt;-Add a new field in your form called form number&lt;/p&gt;
&lt;p&gt;- Republish your form making sure that the form number collumn is promoted and that it is editable outside the form.&lt;/p&gt;
&lt;p&gt;-Set your Document library as a data source&lt;/p&gt;
&lt;p&gt;-Save a place holder document and filter it out of all views&lt;/p&gt;
&lt;p&gt;-Now in the form set the default value of Form Number to max(@Form Number)&lt;/p&gt;
&lt;p&gt;(Here is where it gets painfully convoluted and messy)&lt;/p&gt;
&lt;p&gt;-Write a SharePoint Designer workflow which will Update the Placeholder Documents form number with max(@Form Number)+1 whenever a item is created in the list.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;There are too many moving parts to this solution and I really don&amp;#39;t suggest it if there is a lot of traffic with this document library but hopefully you&amp;#39;ll be able to glean some ideas from this.&lt;/p&gt;</description></item><item><title>Re: Unique ID Generation</title><link>https://www.infopathdev.com:443/forums/thread/34110.aspx</link><pubDate>Tue, 11 Nov 2008 14:17:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34110</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34110.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=34110</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Read&amp;nbsp;these links:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/agni/archive/2006/05/15/Query-for-Items-in-SharePoint-Form-Library-Using-GetListItems-Web-Method.aspx"&gt;http://www.infopathdev.com/blogs/agni/archive/2006/05/15/Query-for-Items-in-SharePoint-Form-Library-Using-GetListItems-Web-Method.aspx&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.infopathdev.com/forums/p/9515/33664.aspx#33664"&gt;http://www.infopathdev.com/forums/p/9515/33664.aspx#33664&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Unique ID Generation</title><link>https://www.infopathdev.com:443/forums/thread/34103.aspx</link><pubDate>Tue, 11 Nov 2008 13:15:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34103</guid><dc:creator>sriram iyer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34103.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=34103</wfw:commentRss><description>&lt;p&gt;hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am a new to this site &amp;amp; Infopath.&lt;/p&gt;
&lt;p&gt;I have a lib in which i submit my forms and send the view of the form in mail like with my subject as &amp;nbsp;concat(&amp;quot;ABC&amp;quot;,&amp;quot;-&amp;quot;,max(@ID))&lt;/p&gt;
&lt;p&gt;Now if my lib. is empty it shows NaN in my subject were i am including the ID.how do u take care of it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And if i have say 10 files in my lib.&amp;nbsp;and i delete the 10 file, then the id also get altered for the next form which is submitted(say i del my 10 file and now add 11 one, now the Id in my mail subject is the previous one which is already deleted.)&lt;/p&gt;
&lt;p&gt;So how can u create a unique id that gets incremented by itself when my lib is empty and also retains the value irrespective of&amp;nbsp;anyone deleting the forms. &lt;/p&gt;</description></item></channel></rss>