<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Auto Incremented Box + Textbox &amp; AfterChange</title><link>https://www.infopathdev.com:443/forums/thread/25309.aspx</link><pubDate>Thu, 27 Dec 2007 14:16:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25309</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25309.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25309</wfw:commentRss><description>&lt;p&gt;You should research the current() function here on InfoPathdev.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;There are many examples.&lt;/p&gt;</description></item><item><title>Auto Incremented Box + Textbox &amp; AfterChange</title><link>https://www.infopathdev.com:443/forums/thread/25306.aspx</link><pubDate>Thu, 27 Dec 2007 12:41:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25306</guid><dc:creator>shayrlz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25306.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25306</wfw:commentRss><description>&lt;p&gt;I have a repeating table with two columns: a auto incremented box (idRow) and a textbox.&lt;/p&gt;
&lt;p&gt;when the text in the text box is changed, I need to know from what row this change originated (looking to idRow).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;I need to use this with AfterChange&lt;/strong&gt;, but it´s not working...&lt;br /&gt;When the new row is created, the AfterChange returns the correct idRow value, but when the text is changed the &amp;quot;1&amp;quot; is returned (always return the first row ID)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If I use a button in each row instead of the AfterChange, this work.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have tried:&lt;/p&gt;
&lt;p&gt;eventObj.Site.selectNodes(&amp;quot;preceding-sibling::my:HorasSaldo&amp;quot;).length&lt;/p&gt;
&lt;p&gt;eventObj.Site.selectSingleNode(&amp;quot;//my:IdRox&amp;quot;).text&lt;/p&gt;
&lt;p&gt;eventObj.Source.selectNodes(&amp;quot;preceding-sibling::my:HorasSaldo&amp;quot;).length&lt;/p&gt;
&lt;p&gt;eventObj.Source.selectSingleNode(&amp;quot;//my:IdRox&amp;quot;).text&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Any ideia?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>