<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Error when clicking save button</title><link>https://www.infopathdev.com:443/forums/thread/26512.aspx</link><pubDate>Fri, 15 Feb 2008 16:30:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26512</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26512.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26512</wfw:commentRss><description>&lt;p&gt;Go to tools and data connections and go through the wizard.&lt;/p&gt;
&lt;p&gt;I am sure there are blogs here and tutorials which have the submit to SharePoint or file location included in the text.&lt;/p&gt;</description></item><item><title>Re: Error when clicking save button</title><link>https://www.infopathdev.com:443/forums/thread/26507.aspx</link><pubDate>Fri, 15 Feb 2008 16:15:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26507</guid><dc:creator>marpa1</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26507.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26507</wfw:commentRss><description>&lt;p&gt;Clay thanks for the reply. I am new to infopath and am trying to get a grip on it. Would you have a sample of what your refering to? That would be a great help. Thanks for your time in this matter.&lt;/p&gt;</description></item><item><title>Re: Error when clicking save button</title><link>https://www.infopathdev.com:443/forums/thread/26494.aspx</link><pubDate>Fri, 15 Feb 2008 14:40:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26494</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26494.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26494</wfw:commentRss><description>&lt;p&gt;Best Practice is to just create a submit data connection which submits the file to a network location or website.&amp;nbsp; You can set the file name, like it looks like you are trying to do.&amp;nbsp; You should not need to hijack the save function with code.&amp;nbsp; Typically you would disable the user&amp;#39;s save functionality so that the submit, which&amp;nbsp;has a standardized process, is the only option.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Error when clicking save button</title><link>https://www.infopathdev.com:443/forums/thread/26453.aspx</link><pubDate>Wed, 13 Feb 2008 20:21:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26453</guid><dc:creator>marpa1</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26453.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26453</wfw:commentRss><description>&lt;p&gt;The problem i am having is i have a save button on a form when clicked i get the following error. Code is below.&lt;/p&gt;
&lt;p&gt;Thanks for any help.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A run time error has occured. Do you want to bebug?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Object.required:XDocument.DOM.selectSingleNode(...)&amp;#39;&lt;/p&gt;
&lt;p&gt;File:script vbs&lt;/p&gt;
&lt;p&gt;line23&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Code&lt;/p&gt;
&lt;p&gt;const Path=&amp;quot;c:\forms\&amp;quot; &lt;/p&gt;
&lt;p&gt;const Ext=&amp;quot;.xsn&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;dim Filename &lt;/p&gt;
&lt;p&gt;Filename = xdocument.dom.selectSingleNode(&amp;quot;(&amp;quot;/my:myFields/LastName&amp;quot;).text &lt;/p&gt;
&lt;p&gt;Filename = Filename &amp;amp; &amp;quot;, &amp;quot; xdocument.dom.selectSingleNode(&amp;quot;/my:myFields/FirstName&amp;quot;).text&lt;/p&gt;</description></item></channel></rss>