<?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>Update InfoPath forms to new template</title><link>https://www.infopathdev.com:443/forums/thread/51732.aspx</link><pubDate>Fri, 12 Feb 2010 18:35:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51732</guid><dc:creator>jclark</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51732.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=51732</wfw:commentRss><description>&lt;p&gt;We have a library containing all of our Purchase Orders with a form that automatically creates an ID (concat(20000 + (count(@ID) + 1), initials, chargeTo) is the formula used). Unfortunately, I just realized that the filename being submitted wasn&amp;#39;t saved within the form anywhere, which made every form in the library display it&amp;#39;s ID as a new ID instead of the filename. Is there any way to grab the filename of the opened form? I&amp;#39;ve fixed all the new forms made by storing the filename given into a variable that can be accessed later, but I haven&amp;#39;t been able to find a way to update the old forms.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Example: Saved form 20001JCCORPIT&amp;nbsp;displays the PO# as 20002JCCORPIT since the PO# is auto-updating &amp;amp; never saved the PO# before submission.&lt;/p&gt;</description></item></channel></rss>