<?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: Auto generate sequential numbers *I know this has been asked, please hear me out!</title><link>https://www.infopathdev.com:443/forums/thread/83640.aspx</link><pubDate>Thu, 18 Oct 2012 20:11:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83640</guid><dc:creator>KaliKa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83640.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=83640</wfw:commentRss><description>That was it, thanks Hilary! I honestly did try that the first time around, when playing with a different function. But not when trying the one you gave me. Anyway, I appreciate your help :)</description></item><item><title>Re: Auto generate sequential numbers *I know this has been asked, please hear me out!</title><link>https://www.infopathdev.com:443/forums/thread/83624.aspx</link><pubDate>Thu, 18 Oct 2012 19:32:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83624</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83624.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=83624</wfw:commentRss><description>&lt;p&gt;Oh - did you use the &lt;strong&gt;&lt;em&gt;fx&lt;/em&gt;&lt;/strong&gt; button? It is a function, you need to type it into the formula editor dialog.&lt;/p&gt;&lt;p&gt;:-)&lt;/p&gt;</description></item><item><title>Re: Auto generate sequential numbers *I know this has been asked, please hear me out!</title><link>https://www.infopathdev.com:443/forums/thread/83622.aspx</link><pubDate>Thu, 18 Oct 2012 19:25:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83622</guid><dc:creator>KaliKa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83622.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=83622</wfw:commentRss><description>Okay, I&amp;#39;ll play around with it a bit. I do have a very newbie question though..
I&amp;#39;ve put the now() formula into the field, but am I supposed to add something else as well? 
I ran a preview and all that appears in that field is exactly what is there -&amp;gt; ()now</description></item><item><title>Re: Auto generate sequential numbers *I know this has been asked, please hear me out!</title><link>https://www.infopathdev.com:443/forums/thread/83620.aspx</link><pubDate>Thu, 18 Oct 2012 19:16:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83620</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83620.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=83620</wfw:commentRss><description>&lt;p&gt;To know what the &amp;quot;next&amp;quot; number is, you&amp;#39;d have to write code to loop through those file names and get the last used number. This would require your form to be full trust, because the code is touching the file system. I would find something else for my unique id. It seems to me that the date / time of the request combined with the project would be unique.&lt;/p&gt;&lt;p&gt;Don&amp;#39;t get me wrong - I understand why this is desireable - it is nice to refer to things as &amp;quot;PR 001&amp;quot; or what-have you. But it is challenging to implement - especially to implement well - and there is no reason to add the burden of code to a form for something that is just &amp;quot;nice to have&amp;quot;, you know? Especially if you&amp;nbsp;aren&amp;#39;t a programmer. &lt;/p&gt;&lt;p&gt;The now() function in InfoPath returns date and time to the second, in a format like this:&lt;/p&gt;&lt;p&gt;2012-10-18T12:14:53&lt;/p&gt;&lt;p&gt;You can use formulas to parse that out into different formats - there is a sample form &lt;a href="http://www.infopathdev.com/files/folders/examples/entry41104.aspx"&gt;here&lt;/a&gt; you can download that may help you.&lt;/p&gt;</description></item><item><title>Re: Auto generate sequential numbers *I know this has been asked, please hear me out!</title><link>https://www.infopathdev.com:443/forums/thread/83617.aspx</link><pubDate>Thu, 18 Oct 2012 19:08:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83617</guid><dc:creator>KaliKa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83617.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=83617</wfw:commentRss><description>Hi Hilary, I&amp;#39;m not familiar with SLQ or Access, but we do have a set of different hard drives that any employee can access through network locations on our computers. Is it possible to have files saved in such a location with auto increment file names and have a field pull the info from there?

Otherwise no, it&amp;#39;s really not crucial. These are meant to be Project Request forms and I would like a unique ID to identify with. At this point the form is still a concept and new in it&amp;#39;s use, but we do need to track them somehow. If it&amp;#39;s too much trouble for what it&amp;#39;s worth, then yes, date/time would probably work just fine.</description></item><item><title>Re: Auto generate sequential numbers *I know this has been asked, please hear me out!</title><link>https://www.infopathdev.com:443/forums/thread/83613.aspx</link><pubDate>Thu, 18 Oct 2012 18:53:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83613</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83613.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=83613</wfw:commentRss><description>&lt;p&gt;So - here&amp;#39;s the thing that is making this tough for you.&lt;/p&gt;&lt;p&gt;To &amp;quot;auto increment&amp;quot; the next number... you have to know what the last used number was. If the information isn&amp;#39;t stored any place (like SharePoint, SQL, Access) you don&amp;#39;t have a way to get the last used number into the next form. Does that make sense?&lt;/p&gt;&lt;p&gt;Personally? I would push back on this requirement. You are not likely to find an easy way to implement this. Why must the file have an incrementing ID? Wouldn&amp;#39;t date / time / username be more meaningful?&lt;/p&gt;</description></item><item><title>Auto generate sequential numbers *I know this has been asked, please hear me out!</title><link>https://www.infopathdev.com:443/forums/thread/83610.aspx</link><pubDate>Thu, 18 Oct 2012 18:33:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83610</guid><dc:creator>KaliKa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83610.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=83610</wfw:commentRss><description>I am brand-spanking-new to InfoPath. I thought I might be able to use it to create a form that is to be completed as an email and submitted to a common mailbox. I&amp;#39;ve been searching diligently for the last couple days for information on how to create a field that will auto generate a form ID number in sequence, to suit my situation. I&amp;#39;m not picky on the auto ID number, I&amp;#39;m sure something along the lines of a date plus unique numbers work work perfectly (eg YYYYMMDD01, YYYYMMDD02 etc)

I am not working with SharePoint, and every article I come across is SharePoint related. I&amp;#39;ve tried my best to work around the instructions provided (removing SharePoint references and replacing with relevant ones), but I keep hitting dead walls. I&amp;#39;m not even sure what I&amp;#39;m trying to do is possible anymore, though it doesn&amp;#39;t seem like it should be impossible. 

Does the form have to be &amp;quot;submitted&amp;quot; before a number can be generated? Does the code have to pull information from a web connection for this to work? 

I&amp;#39;m not advanced in my knowledge of these things, so when I read, &amp;quot;If it&amp;#39;s just e-mail, you will have to add some code that locks a file on a server, increments a counter in that file, and saves the file so that submitters can be &amp;quot;synchronized&amp;quot; using this file counter.&amp;quot; I have no idea how to do any of that (if it&amp;#39;s even relevant to what I&amp;#39;m trying to do. 

Much appreciated!</description></item></channel></rss>