<?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: retrieving value from repeated section</title><link>https://www.infopathdev.com:443/forums/thread/65244.aspx</link><pubDate>Wed, 16 Mar 2011 18:33:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65244</guid><dc:creator>gr8fasushi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65244.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=65244</wfw:commentRss><description>&lt;p&gt;a-ha! thank you, I knew it was a simple syntax error&lt;/p&gt;</description></item><item><title>Re: retrieving value from repeated section</title><link>https://www.infopathdev.com:443/forums/thread/65238.aspx</link><pubDate>Wed, 16 Mar 2011 17:39:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65238</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65238.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=65238</wfw:commentRss><description>&lt;p&gt;Most likely you need to put the [1], [2] after rsIssueDescription, not tbIssueDescription.&lt;/p&gt;</description></item><item><title>retrieving value from repeated section</title><link>https://www.infopathdev.com:443/forums/thread/65237.aspx</link><pubDate>Wed, 16 Mar 2011 16:53:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65237</guid><dc:creator>gr8fasushi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65237.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=65237</wfw:commentRss><description>&lt;p&gt;Hi guys, new infopath developer here and I&amp;#39;m running into a problem trying to access the value from a repeated section.&amp;nbsp; I&amp;#39;m sure it&amp;#39;s very simple but it&amp;#39;s eluding me at the moment.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I currently have a form with a text box for a user to insert comments.&amp;nbsp; From what I understand, infopath won&amp;#39;t communicate with a database directly if a field exceeds 255 characters, so I put the textbox in a repeated section so if they need to exceed 255, they can insert additional textboxes to complete their comment.&amp;nbsp; I can retrieve the first textbox value without a problem, however the 2nd textbox throws an error of &amp;quot;Object reference not set to an instance of an object. &amp;quot;&lt;/p&gt;&lt;p&gt;Is it simply a syntax error?&amp;nbsp; I thought I could navigate the repeating sections by adding [1],[2],[3], etc to the end of the xpath.&amp;nbsp; It works for the first one [1] but not anything after.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim IssueDescription As String = MainDataSource.CreateNavigator().SelectSingleNode(&amp;quot;/my:myFields/my:gIssueDescription/my:rsIssueDescription/my:tbIssueDescription[1]&amp;quot;, NamespaceManager).Value&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim IssueDescription2 As String = MainDataSource.CreateNavigator().SelectSingleNode(&amp;quot;/my:myFields/my:gIssueDescription/my:rsIssueDescription/my:tbIssueDescription[2]&amp;quot;, NamespaceManager).Value &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Also, is there a way to work around the 255 character limit without resorting to using webservices? &lt;/p&gt;&lt;p&gt;I appreciate any input!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thanks &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>