<?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: Submitting a modifed form creates a new form when using now() for filename?????</title><link>https://www.infopathdev.com:443/forums/thread/47857.aspx</link><pubDate>Tue, 13 Oct 2009 16:09:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47857</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47857.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47857</wfw:commentRss><description>&lt;p&gt;well the point of allow file overwrite is if you specify a name and that name already exists in the libary. &lt;/p&gt;
&lt;p&gt;And well submit button is doing exactly same as it should do. you tell it to set the name to now(). every time it submits the form, it first calculates the now(), then creates a file name (what ever is out put of now()) and creates/overwrites the file&lt;/p&gt;</description></item><item><title>Re: Submitting a modifed form creates a new form when using now() for filename?????</title><link>https://www.infopathdev.com:443/forums/thread/47852.aspx</link><pubDate>Tue, 13 Oct 2009 14:16:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47852</guid><dc:creator>witzer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47852.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47852</wfw:commentRss><description>&lt;p&gt;Thanks for the response.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, I don&amp;#39;t think it is doing what it is suppose to be doing.&amp;nbsp; Otherwise, would would be the point in checking the&amp;nbsp;&amp;#39;allow file overwrite&amp;#39;??&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Submitting a modifed form creates a new form when using now() for filename?????</title><link>https://www.infopathdev.com:443/forums/thread/47832.aspx</link><pubDate>Tue, 13 Oct 2009 01:49:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47832</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47832.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47832</wfw:commentRss><description>&lt;p&gt;well your submit button is doing exactly what it is supposed to do. Whenever you submit the form it should create a new form. &lt;/p&gt;
&lt;p&gt;you store your form name in some variable and then submit the form (using that variable as file name) that should solve your problem&lt;/p&gt;</description></item><item><title>Submitting a modifed form creates a new form when using now() for filename?????</title><link>https://www.infopathdev.com:443/forums/thread/47826.aspx</link><pubDate>Mon, 12 Oct 2009 21:58:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47826</guid><dc:creator>witzer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47826.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47826</wfw:commentRss><description>&lt;p&gt;Using infopath 2007.&amp;nbsp; I have created a data connection where I am submitting data to a Sharepoint site.&amp;nbsp;I have the box checked that says &amp;#39;allow overwrites if file exists&amp;#39;.&amp;nbsp; My code when the button is clicked is:&lt;/p&gt;
&lt;p&gt;DataConnection conn = DataConnections[&amp;quot;Sharepoint Library Submit&amp;quot;];&lt;/p&gt;
&lt;p&gt;conn.Execute();&amp;nbsp; &lt;/p&gt;
&lt;p&gt;When I open a form and modify it and click the submit button the original file stays the same but it creates a new one with a new timestamp for the file name.&amp;nbsp; If I use the today() function for the filename everything works as it should.&lt;/p&gt;
&lt;p&gt;Anyone have any ideas?&lt;/p&gt;
&lt;p&gt;Thanks a lot!!&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>