<?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: Please Help me about getting filename for submission.</title><link>https://www.infopathdev.com:443/forums/thread/85111.aspx</link><pubDate>Thu, 06 Dec 2012 13:33:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85111</guid><dc:creator>appelgw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85111.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85111</wfw:commentRss><description>&lt;p&gt;I took Clay&amp;#39;s idea and got it to work.&amp;nbsp; Here&amp;#39;s my version of a solution.&lt;/p&gt;
&lt;p&gt;1) Create a text field on the form called FormName&lt;br /&gt;2) Create a Retrieve data connection that gets the IDs from the form library&lt;br /&gt;3) Create a On Form Load rule with criteria of &amp;#39;If FormName is blank&amp;#39; do action of &amp;#39;Set a field&amp;#39;s value: FormName = max(ID)+1&amp;#39; where ID is from the Retrieve data connection&lt;br /&gt;4) Set the Submit data connection to use &amp;#39;FormName&amp;#39; as the file name and allow files to be overwritten.&lt;/p&gt;
&lt;p&gt;The result is that on new forms, the FormName is set to the next incremental ID value of the IDs of the forms in the form library.&lt;br /&gt;And then on forms that are being edited, it does nothing to the value stored in FormName so the submit action just saves over top the existing form.&lt;/p&gt;</description></item><item><title>Re: Please Help me about getting filename for submission.</title><link>https://www.infopathdev.com:443/forums/thread/23549.aspx</link><pubDate>Tue, 09 Oct 2007 10:15:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23549</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23549.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23549</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Taking Clay&amp;#39;s suggestion a little further, are there any fields on the amended version&amp;nbsp;whose data&amp;nbsp;are different to&amp;nbsp;a new form.&amp;nbsp; This difference can be used to drive the situation Clay specifies without adding extra fields.&lt;/p&gt;
&lt;p&gt;Cheers Adam&lt;/p&gt;</description></item><item><title>Re: Please Help me about getting filename for submission.</title><link>https://www.infopathdev.com:443/forums/thread/23431.aspx</link><pubDate>Wed, 03 Oct 2007 18:21:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23431</guid><dc:creator>jatuphum</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23431.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23431</wfw:commentRss><description>Thank you very much for quick reply and Do you have another solution more ? If you have ,please kindly to tell me because I have some limitation about I can&amp;#39;t add more field from the existing. Thank you very much again</description></item><item><title>Re: Please Help me about getting filename for submission.</title><link>https://www.infopathdev.com:443/forums/thread/23425.aspx</link><pubDate>Wed, 03 Oct 2007 16:53:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23425</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23425.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23425</wfw:commentRss><description>&lt;p&gt;I believe there is code for getting the current file name of your form.&lt;/p&gt;
&lt;p&gt;One easy trick is setting a field (FormName) in your form to&amp;nbsp;the function xxx+ now() right before submit then use that field as the name of your form.&amp;nbsp; Have a rule that on the submit button if FormName is blank (new form) run the action to set it to xxx+now(). Otherwise if it has a value it will not be changed and on future submits it will continue to use that field value.&lt;/p&gt;</description></item><item><title>Re: Please Help me about getting filename for submission.</title><link>https://www.infopathdev.com:443/forums/thread/23424.aspx</link><pubDate>Wed, 03 Oct 2007 16:41:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23424</guid><dc:creator>jatuphum</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23424.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23424</wfw:commentRss><description>&lt;p&gt;Thank you very much for your reply.&lt;/p&gt;
&lt;p&gt;These are my detail.&lt;/p&gt;
&lt;p&gt;I created my Infopath form template and publish to SharePoint Document Library in specific site.&amp;nbsp;At first of operation, user create new form (from my created template) and then user submit at first time for file creation into document library, this new&amp;nbsp;file name is generated from xxxx + now() function. (That I set &amp;quot;Main submit&amp;quot; in data connection).&lt;/p&gt;
&lt;p&gt;After that, user re-open this file for edit. And then user submit form again for saving data (I don&amp;#39;t want to use save function), I want to use &amp;quot;Second submit&amp;quot; data connection that I want to use&amp;nbsp;the &lt;strong&gt;same file name&amp;nbsp;(Gereated at&amp;nbsp;first time) for this submission&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Please suggest me for solving solution by &lt;strong&gt;using&amp;nbsp;function fx at Data Connection&lt;/strong&gt; Creation.&lt;/p&gt;
&lt;p&gt;Or if you have other solution, you can suggest me for additional information.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you very much again.&lt;/p&gt;</description></item><item><title>Re: Please Help me about getting filename for submission.</title><link>https://www.infopathdev.com:443/forums/thread/23415.aspx</link><pubDate>Wed, 03 Oct 2007 14:34:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23415</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23415.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23415</wfw:commentRss><description>&lt;p&gt;Are you trying to set a specific filename? You can use a function to use field values or create your own naming scheme.&lt;/p&gt;
&lt;p&gt;Where are you storing your forms? SharePoint, a file share? There are ways to query SharePoint to get ID numbers and file names,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I guess I need more detail of what exactly you need.&lt;/p&gt;</description></item><item><title>Please Help me about getting filename for submission.</title><link>https://www.infopathdev.com:443/forums/thread/23414.aspx</link><pubDate>Wed, 03 Oct 2007 14:01:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23414</guid><dc:creator>jatuphum</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23414.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23414</wfw:commentRss><description>&lt;p&gt;And the other one problem, I want to know how about I can get&amp;nbsp;filename (of Infopath form) by using Infopath function. Because filename is generate at first my submission. So at the other submission I want to know about function that using for get filename.&lt;/p&gt;
&lt;p&gt;How should I do?&lt;/p&gt;
&lt;p&gt;Thank you very much.&lt;/p&gt;</description></item></channel></rss>