<?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: save form with concat filename, but don't create a new form...</title><link>https://www.infopathdev.com:443/forums/thread/36442.aspx</link><pubDate>Wed, 31 Dec 2008 10:56:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36442</guid><dc:creator>kalaicompute</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36442.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36442</wfw:commentRss><description>&lt;p&gt;I guess it will help you. &lt;a href="http://bladah.com/?p=51"&gt;http://bladah.com/?p=51&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: save form with concat filename, but don't create a new form...</title><link>https://www.infopathdev.com:443/forums/thread/36054.aspx</link><pubDate>Thu, 18 Dec 2008 16:12:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36054</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36054.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36054</wfw:commentRss><description>&lt;p&gt;*sigh*&lt;/p&gt;
&lt;p&gt;If I submit my form 5 milliseconds before the current second ends, then unless I submit the next one in 4 milliseconds, it will have a different time stamp.&amp;nbsp; If I submit my form 3 centiseconds after the second starts, then I have 7 centseconds before the next time stamp.&amp;nbsp; It&amp;#39;s just simple math - nothing complicated.&amp;nbsp; People don&amp;#39;t magically submit right at the first nanosecond of a new second each time, so they will very rarely have a full second before the next timestamp.&lt;/p&gt;</description></item><item><title>Re: save form with concat filename, but don't create a new form...</title><link>https://www.infopathdev.com:443/forums/thread/36053.aspx</link><pubDate>Thu, 18 Dec 2008 16:03:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36053</guid><dc:creator>dennisc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36053.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36053</wfw:commentRss><description>How can you get different time stamps in one (the same) second with the now() function? (the now() function returns unique values every second?)</description></item><item><title>Re: save form with concat filename, but don't create a new form...</title><link>https://www.infopathdev.com:443/forums/thread/36049.aspx</link><pubDate>Thu, 18 Dec 2008 15:47:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36049</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36049.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36049</wfw:commentRss><description>&lt;p&gt;Not necessarily, since they can do&amp;nbsp;two within a second of each other and have different time stamps.&amp;nbsp; You can say centisecond if you want - millisecond is just the more commonly-used term, though not entirely accurate.&lt;/p&gt;</description></item><item><title>Re: save form with concat filename, but don't create a new form...</title><link>https://www.infopathdev.com:443/forums/thread/36048.aspx</link><pubDate>Thu, 18 Dec 2008 15:42:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36048</guid><dc:creator>dennisc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36048.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36048</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;warrtalon, you say millisecond but it&amp;#39;s second isn&amp;#39;t it?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: save form with concat filename, but don't create a new form...</title><link>https://www.infopathdev.com:443/forums/thread/36045.aspx</link><pubDate>Thu, 18 Dec 2008 15:28:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36045</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36045.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36045</wfw:commentRss><description>&lt;p&gt;Gayle, it&amp;#39;s not date, but date/time.&amp;nbsp; Today() does today&amp;#39;s date, but now() does the time stamp down to the second.&amp;nbsp; The same user would have to submit two forms in the same millisecond.&lt;/p&gt;</description></item><item><title>Re: save form with concat filename, but don't create a new form...</title><link>https://www.infopathdev.com:443/forums/thread/36042.aspx</link><pubDate>Thu, 18 Dec 2008 15:05:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36042</guid><dc:creator>dennisc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36042.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36042</wfw:commentRss><description>You are right, but when I use the date function &amp;quot;now()&amp;quot; I get 2008-12-18T15-55-50. That means a user must make more than one form per second... So for me that&amp;#39;s unique enough...&lt;br /&gt;Have you tried the function now() ? Does it return only a date (2008-12-18)?? &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: save form with concat filename, but don't create a new form...</title><link>https://www.infopathdev.com:443/forums/thread/36032.aspx</link><pubDate>Thu, 18 Dec 2008 13:25:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36032</guid><dc:creator>Gayle Cole</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36032.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36032</wfw:commentRss><description>&lt;p&gt;No - username + date is not unique enough as one user could enter many orders in one day.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any other ideas?&lt;/p&gt;</description></item><item><title>Re: save form with concat filename, but don't create a new form...</title><link>https://www.infopathdev.com:443/forums/thread/36007.aspx</link><pubDate>Thu, 18 Dec 2008 07:53:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36007</guid><dc:creator>dennisc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36007.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36007</wfw:commentRss><description>&lt;p&gt;warrtalon, your solution ‘username &amp;amp; date’ is unique enough. I will use that. Thank you very much!&lt;br /&gt;&lt;br /&gt;What I wanted was a file name with ID_field1_field2. (Where ID is the unique ID from a sharepoint library) But that’s not possible; because ID is not yet available in a new form. And the work around: First save/submit to generate ID will never work because the file is saved with a filename without ID (because it wasn’t available) so you will never be able to overwrite it! (It will generate a new ID instead…) Correct me if I’m wrong but I think that’s how it works…&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: save form with concat filename, but don't create a new form...</title><link>https://www.infopathdev.com:443/forums/thread/35956.aspx</link><pubDate>Wed, 17 Dec 2008 20:52:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35956</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35956.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=35956</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m not sure you can rely on ID, because the ID is not assigned until AFTER you first submit it to the library.&amp;nbsp; However, you can&amp;#39;t worry about duplication, because the ID field of every SharePoint list is a unique identifier.&amp;nbsp; The numbers are sequential and are never duplicated.&lt;/p&gt;
&lt;p&gt;Yes, you can concatenate any field with anything else, but again, ID will not be available until AFTER the form has been submitted once.&amp;nbsp; Also, there is no filename until you&amp;nbsp;have submitted it, so neither of these are a good idea, imo.&amp;nbsp; To use these, you would have to setup a rule on your submit button or submit action that first submits the form to the library without closing it, goes out and retrieves the ID and filename, then concatenates those two, then places that string into some other field, then re-submits the form again using the same filename, and then closes.&amp;nbsp; Is that what you want to do?&amp;nbsp; If you let me know what you&amp;#39;d like to accomplish, I might be able to give you a solution.&lt;/p&gt;
&lt;p&gt;Here is the syntax logically:&lt;/p&gt;
&lt;p&gt;concat(&lt;u&gt;ID&lt;/u&gt;, &lt;u&gt;Name)&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;Pretty simple.&amp;nbsp; The reason they are underlined is because that&amp;#39;s how they will look when you choose Insert Function &amp;gt; concat and then see &amp;quot;double click to insert field.&amp;quot;&amp;nbsp; When you double click to insert field, you will then go to your data connection that pulls the ID and filename from the library and choose those inside the concat parentheses separated by a comma.&lt;/p&gt;
&lt;p&gt;My preference is to dynamically create the filename for the user without them having to use the Save function or the built-in submit function.&amp;nbsp; I take their username and concatenate it with the date/time stamp using now().&amp;nbsp; The syntax is concat(userName(),&amp;quot;-&amp;quot;,now()).&amp;nbsp; I set a field named &amp;quot;filename&amp;quot; to th at expression and then use that filename in my SharePoint Library Submit data connection so that it will never change and is easy to reference.&lt;/p&gt;</description></item><item><title>Re: save form with concat filename, but don't create a new form...</title><link>https://www.infopathdev.com:443/forums/thread/35950.aspx</link><pubDate>Wed, 17 Dec 2008 20:37:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35950</guid><dc:creator>Gayle Cole</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35950.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=35950</wfw:commentRss><description>&lt;p&gt;I have set up a form where I am using the @ID for the sequential form number BUT I am concerned about duplication.&amp;nbsp; Is there a way to concat filename with @id .. please provide the actual formula to put in the Expression Box?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: save form with concat filename, but don't create a new form...</title><link>https://www.infopathdev.com:443/forums/thread/35929.aspx</link><pubDate>Wed, 17 Dec 2008 16:51:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35929</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35929.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=35929</wfw:commentRss><description>&lt;p&gt;No, you don&amp;#39;t have to guess or hope.&amp;nbsp; You can have a different data field with your own unique ID generator if you think the now() function isn&amp;#39;t going to be unique enough.&amp;nbsp; I always include the current username AND the now() function, because then it doesn&amp;#39;t matter if two people submit at the same time, because it will still always be a unique filename.&amp;nbsp; One person can&amp;#39;t submit two at the same exact millisecond, especially if you have yet another piece of info from the form that makes it even more unique.&amp;nbsp; I think this will work for you...&lt;/p&gt;</description></item><item><title>Re: save form with concat filename, but don't create a new form...</title><link>https://www.infopathdev.com:443/forums/thread/35928.aspx</link><pubDate>Wed, 17 Dec 2008 16:35:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35928</guid><dc:creator>dennisc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35928.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=35928</wfw:commentRss><description>&lt;p&gt;Thank you, It works!&lt;/p&gt;&lt;p&gt;So the only way is &amp;#39;guess the ID&amp;#39; and hope no one uses the same ID &amp;quot;OR&amp;quot; work with dates...&lt;/p&gt;&lt;p&gt;But I think it could be a problem when two users press submit in the same second... Since now() is year-month-dayThour-minute-second... &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: save form with concat filename, but don't create a new form...</title><link>https://www.infopathdev.com:443/forums/thread/35919.aspx</link><pubDate>Wed, 17 Dec 2008 15:46:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35919</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35919.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=35919</wfw:commentRss><description>&lt;p&gt;You can&amp;#39;t use the ID in that case - you&amp;#39;ll just need to use something else.&amp;nbsp; I use the now() function in the concatenated filename so that all are unique.&lt;/p&gt;
&lt;p&gt;The reason why this is happening to use is because the original filename is Test_, but the second time you submit it, it changes to Test_11.&amp;nbsp; Those are different filenames, so it cannot overwrite and treats it as a new filename.&amp;nbsp; I would just ignore the ID, and if you truly need a unique ID # like that, then assign it in the form somewhere.&amp;nbsp; Also, create a &amp;quot;filename&amp;quot; data field in your form, create a rule on your submit button that sets the filename ONLY on the first submit, then in your data connection that submits to the library, tell it to use the value in the field named &amp;quot;filename.&amp;quot;&amp;nbsp; This way, you set the filename once - when originally submitted - and it never changes.&amp;nbsp; That way you know your filename will be correct each time.&amp;nbsp; You don&amp;#39;t want to keep creating the filename on each submit.&amp;nbsp; It requires to separate rules on your submit button in reverse order with the first one only firing if filename is not blank.&lt;/p&gt;</description></item><item><title>Re: save form with concat filename, but don't create a new form...</title><link>https://www.infopathdev.com:443/forums/thread/35892.aspx</link><pubDate>Wed, 17 Dec 2008 08:24:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35892</guid><dc:creator>dennisc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35892.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=35892</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks’ for the quick response! I thought I needed to code for this solution... But it’s as simple as you wrote.&lt;br /&gt;I&amp;#39;ve tried it like you said, but it seems to be a problem with the concat* function. So it’s still not working as I want.&lt;br /&gt;I want to make a filename like “test_&amp;lt;id&amp;gt;” where &amp;lt;id&amp;gt; is the unique ID of the form**.&lt;br /&gt;When creating a new XML the &amp;lt;id&amp;gt; is not known so “test_.xml” will be created. (that’s not correct***)&lt;br /&gt;After that when editing “test_.xml” the &amp;lt;id&amp;gt; is known (let’s say 11) so the file will be saved as “test_11.xml”. Seems to be ok…&lt;br /&gt;When editing “test_11.xml” strangely it will submit as “test_12.xml” even tough ‘Overwrite when file exists’ is “on” at the submit data connection.&lt;br /&gt;* Concat(“test_”; @ID) &lt;br /&gt;** @ID comes from a data connection to get the unique ID. &lt;br /&gt;*** We can solve this to guess the ID by searching for the highest number and add 1. But what will happen when two users create a form at the same time?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>