<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Problem submitting form</title><link>https://www.infopathdev.com:443/forums/thread/73997.aspx</link><pubDate>Sun, 15 Jan 2012 20:17:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73997</guid><dc:creator>Niax01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73997.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=73997</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I wonder if I understand your problem correct, cause&amp;nbsp;there shouldn&amp;#39;t be one.&amp;nbsp;&lt;/p&gt;&lt;p&gt;I don&amp;#39;t know, but my formula looks like this and works perfectly well:&lt;/p&gt;&lt;p&gt;max(ID) + 1&lt;/p&gt;&lt;p&gt;I&amp;nbsp;have a data connection to my form library that&amp;nbsp;collects the ID field.&lt;/p&gt;&lt;p&gt;I have a field called FomID with the formula above which is of the type string.&lt;/p&gt;</description></item><item><title>Re: Problem submitting form</title><link>https://www.infopathdev.com:443/forums/thread/73955.aspx</link><pubDate>Fri, 13 Jan 2012 13:06:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73955</guid><dc:creator>BlondeGymnastGeek</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73955.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=73955</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;When I get that error I normally simplify the formula to just the &amp;quot;now()&amp;quot; function to isolate the issue. Sometimes the problem is something else entirely.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Problem submitting form</title><link>https://www.infopathdev.com:443/forums/thread/73692.aspx</link><pubDate>Tue, 10 Jan 2012 06:52:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73692</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73692.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=73692</wfw:commentRss><description>&lt;p&gt;Your initial formula max(@ID_Num) + 1 looks correct, but you say that the file already exists in your library.&amp;nbsp; Does ID_Num and the file name have any correlation?&amp;nbsp;Are you sure that max(ID_Num) is returning the correct value?&lt;/p&gt;&lt;p&gt;I don&amp;#39;t believe the problem here is a int/string issue.&lt;/p&gt;</description></item><item><title>Problem submitting form</title><link>https://www.infopathdev.com:443/forums/thread/73688.aspx</link><pubDate>Tue, 10 Jan 2012 03:50:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73688</guid><dc:creator>tonydotigr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73688.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=73688</wfw:commentRss><description>Recently ran into a problem with an InfoPath form. Using ‘max(@ID_Num) + 1’ to submit the form returns error ‘The form was not submitted because a form named 1000.xml already exists in the document library at **** Library. Please contact the provider of the form&amp;#39; when submitting to a SharePoint list.  I believe the problem is the field in reference (ID_Num / string) on SharePoint List needs to be converted to an integer for the submit function to work properly.  Though I don&amp;#39;t seem to have access on List to do this.  Was trying to use the function below, but InfoPath does not like. 

max(number(@ID_Num)) + 1
 

Any ideas would be appreciated!</description></item></channel></rss>