<?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: Change Event handler on text field in a Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/107688.aspx</link><pubDate>Wed, 17 Aug 2016 11:31:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107688</guid><dc:creator>meissen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107688.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=107688</wfw:commentRss><description>Closing my own post, turns out it was an unrelated issue.</description></item><item><title>Change Event handler on text field in a Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/107660.aspx</link><pubDate>Wed, 10 Aug 2016 13:01:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107660</guid><dc:creator>meissen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107660.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=107660</wfw:commentRss><description>Hi all,
&lt;br /&gt;&lt;br /&gt;

I have a repeating section with a textbox.
&lt;br /&gt;&lt;br /&gt;
The repeating section has rows added programmatically. 
&lt;br /&gt;&lt;br /&gt;
When the code is triggered to programmatically add rows it triggers the Changed handler for one of the fields in the Repeating Section...
&lt;br /&gt;&lt;br /&gt;
No big deal, I&amp;#39;ll preface the code with (pseudo code) &amp;quot;If the field&amp;#39;s length is greater than 1, do all this, otherwise do nothing.&amp;quot; 
&lt;br /&gt;&lt;br /&gt;
Problem is that when I set the field&amp;#39;s value to a variable to then use in the If statement, when the code executes I get &amp;quot;Object reference not set to an instance of an object.&amp;quot; 
&lt;br /&gt;&lt;br /&gt;
So now assume Repeating Section 1 has 4 rows, all rows have Field1 on it. 
&lt;br /&gt;&lt;br /&gt;
If I edit row 1&amp;#39;s Field1 everything executes OK.
&lt;br /&gt;&lt;br /&gt;
If I then go to row 2 and add text to Field1, it cycles through Row 1-Field 1 and then goes to Row 2-Field 1 and removes the change I made.
&lt;br /&gt;&lt;br /&gt;
What am I missing? Is there a VB equivalent to &amp;quot;curent()&amp;quot; field?</description></item></channel></rss>