<?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: InfoPath 2003 / VBScript Reference bound (form) field names</title><link>https://www.infopathdev.com:443/forums/thread/40969.aspx</link><pubDate>Fri, 24 Apr 2009 14:34:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40969</guid><dc:creator>Wheels</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40969.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=40969</wfw:commentRss><description>&lt;p&gt;Thank you Hillary.&lt;/p&gt;
&lt;p&gt;WHEELS&lt;/p&gt;</description></item><item><title>Re: InfoPath 2003 / VBScript Reference bound (form) field names</title><link>https://www.infopathdev.com:443/forums/thread/40732.aspx</link><pubDate>Mon, 20 Apr 2009 00:46:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40732</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40732.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=40732</wfw:commentRss><description>&lt;p&gt;If you save your form as source files, you can look at template.xml or sampledata.xml to see your main data source XML, this may help you get the XPath to your data nodes correct. I&amp;#39;d guess that it is going to be &amp;quot;dfs:myFields/dfs:dataFields/d:tbl_GC100/@Lockbox&amp;quot;. &lt;/p&gt;</description></item><item><title>InfoPath 2003 / VBScript Reference bound (form) field names</title><link>https://www.infopathdev.com:443/forums/thread/40633.aspx</link><pubDate>Wed, 15 Apr 2009 13:45:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40633</guid><dc:creator>Wheels</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40633.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=40633</wfw:commentRss><description>&lt;p&gt;Good morning.&lt;/p&gt;
&lt;p&gt;I struck out with JScript so now I am using VBScript.&lt;/p&gt;
&lt;p&gt;I have the following functions:&lt;/p&gt;
&lt;p&gt;Public Function StoreFields() &lt;/p&gt;
&lt;p&gt;Dim Lockbox, Cash_Deposit_Date, Batch_Number &lt;/p&gt;
&lt;p&gt;Lockbox=XDocument.DOM.selectSingleNode(&amp;quot;dfs:myFields/my:Lockbox&amp;quot;); &lt;/p&gt;
&lt;p&gt;Cash_Deposit_Date=XDocument.DOM.selectSingleNode(&amp;quot;dfs:myFields/my:Cash_Deposit_Date&amp;quot;); &lt;/p&gt;
&lt;p&gt;Batch_Number=XDocument.DOM.selectSingleNode(&amp;quot;dfs:myFields/my:Batch_Number&amp;quot;); &lt;/p&gt;
&lt;p&gt;End Function &lt;/p&gt;
&lt;p&gt;Public Function PopulateFields() &lt;/p&gt;
&lt;p&gt;XDocument.DOM.selectSingleNode(&amp;quot;dfs:myFields/my:Lockbox&amp;quot;)= Lockbox; &lt;/p&gt;
&lt;p&gt;XDocument.DOM.selectSingleNode(&amp;quot;dfs:myFields/my:Cash_Deposit_Date&amp;quot;) = Cash_Deposit_Date; &lt;/p&gt;
&lt;p&gt;XDocument.DOM.selectSingleNode(&amp;quot;dfs:myFields/my:Batch_Number&amp;quot;) = Batch_Number; &lt;/p&gt;
&lt;p&gt;End Function&lt;/p&gt;
&lt;p&gt;The reference to the form fields appear to be incorrect. Under my Data Source (main connection) I have: myFields --&amp;gt; dataFields --&amp;gt; d:tbl_GC100 --&amp;gt; :Lockbox, :Cash_Deposit_Date, and :Batch_Number.&lt;/p&gt;
&lt;p&gt;How do I reference these fileds correctly? There are several fields bound to the form that I can reference correctly.&lt;/p&gt;
&lt;p&gt;Thank you, WHEELS&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>