<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Autopopulate file name?</title><link>https://www.infopathdev.com:443/forums/thread/58728.aspx</link><pubDate>Mon, 06 Sep 2010 15:59:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58728</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58728.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=58728</wfw:commentRss><description>&lt;p&gt;Hi -- my guess is that you are asking about an actual filename and not a window caption. The real problem with &amp;quot;count the number of files created that day&amp;quot; is thinking through when you make that count -- not when the form is opened, because if I open the form and get a &amp;quot;3&amp;quot; for being third, and someone else opens the form before I save mine, they will also get a &amp;quot;3&amp;quot;. If you get the count RIGHT before submission, you have a better chance of not overwritting, but it would probably be best to simply stick with the now() function for your name. Much simpler, much lower chance of unintentional overwrites or conflicts.&lt;/p&gt;</description></item><item><title>Re: Autopopulate file name?</title><link>https://www.infopathdev.com:443/forums/thread/58699.aspx</link><pubDate>Sun, 05 Sep 2010 22:03:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58699</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58699.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=58699</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi, to do that , you have to set caption property. &lt;/p&gt;&lt;p&gt;-You can add a global variable: int Caption=0;&lt;/p&gt;&lt;p&gt;-add an event on context change and set some code here an example :&lt;/p&gt;&lt;p&gt;if(caption&amp;lt;1)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.Application.ActiveWindow.Caption = &amp;quot;YOUR CAPTION&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; caption++;&lt;br /&gt;} &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Autopopulate file name?</title><link>https://www.infopathdev.com:443/forums/thread/58696.aspx</link><pubDate>Sun, 05 Sep 2010 03:16:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58696</guid><dc:creator>jyost2</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58696.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=58696</wfw:commentRss><description>&lt;p&gt;I have created a form in infopath for my sharepoint site. Is it possible to autopopulate a new file name everytime someone creates a new file? something simple like date and and count the number of files created that day (i.e. 09041003 for the third file created today)&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item></channel></rss>