<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Adding the form ID to the file name</title><link>https://www.infopathdev.com:443/forums/thread/72480.aspx</link><pubDate>Tue, 29 Nov 2011 23:25:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72480</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72480.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=72480</wfw:commentRss><description>Try bringing in the +1 into the parameters for the&amp;nbsp;concat function.&amp;nbsp; That is, try the formula &amp;#39;concat(&amp;quot;field1&amp;quot;, &amp;quot;field2&amp;quot;, ID+1)&amp;#39;.</description></item><item><title>Adding the form ID to the file name</title><link>https://www.infopathdev.com:443/forums/thread/72477.aspx</link><pubDate>Tue, 29 Nov 2011 20:00:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72477</guid><dc:creator>Voicenat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72477.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=72477</wfw:commentRss><description>&lt;p&gt;I have set up a sharepoint form library with an inforpath form and workflow and I&amp;nbsp;am wanting to add the form ID to the end of the file name, which is concatinated from fields in the form, when the form is submitted. I have created a Data connection to grab the form ID and I have added a data conection with a formula &amp;#39;concat( &lt;u&gt;&amp;quot;field&amp;quot;,&lt;/u&gt; &amp;quot;&lt;u&gt;field&lt;/u&gt;&amp;quot;, &lt;u&gt;ID&lt;/u&gt;)&amp;#39; to name the form. But it pulls the previous form ID. I tried &amp;#39;concat( &lt;u&gt;&amp;quot;field&amp;quot;,&lt;/u&gt; &amp;quot;&lt;u&gt;field&lt;/u&gt;&amp;quot;, &lt;u&gt;ID&lt;/u&gt;) +1&amp;#39; but I get the file name &amp;#39;NaN&amp;#39;. Does anyone know how I can fix this problem? The deadline to release this workflow is fast approaching. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>