<?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: InfoPath 2007 field values for current row in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/20559.aspx</link><pubDate>Sun, 10 Jun 2007 22:27:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20559</guid><dc:creator>Jonathanlsmith</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20559.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=20559</wfw:commentRss><description>&lt;p&gt;I figured this out, it makes sense now that I got it working....&lt;br /&gt;&lt;br /&gt;e.Site.SelectSingleNode(&amp;quot;ns1:OtherPartiesName&amp;quot;,me.NamespaceManager).innerxml&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;My xpath indicates my namespace is &amp;quot;ns1&amp;quot; and not &amp;quot;my&amp;quot;, I hope this may help someone else.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: InfoPath 2007 field values for current row in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/20558.aspx</link><pubDate>Sun, 10 Jun 2007 20:37:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20558</guid><dc:creator>Jonathanlsmith</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20558.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=20558</wfw:commentRss><description>&lt;p&gt;I figured out how to access a row using the xpath:&lt;/p&gt;&lt;p&gt;e.Site.SelectSingleNode(&amp;quot;/dfs:myFields/dfs:dataFields/ns1:GetRequestResponse/ns1:GetRequestResult/ns1:OtherParties[1]/ns1:OtherParty/ns1:OtherPartiesName&amp;quot;,me.NamespaceManager).Value&lt;/p&gt;&lt;p&gt;&amp;nbsp;But I still dont understand how to determine the current row when a row changing event fires.&amp;nbsp; Does anyone have any ideas on how to determine the current row?&amp;nbsp; e.site.???&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks!&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>InfoPath 2007 field values for current row in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/20554.aspx</link><pubDate>Sat, 09 Jun 2007 19:33:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20554</guid><dc:creator>Jonathanlsmith</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20554.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=20554</wfw:commentRss><description>&lt;p&gt;I have seen several posts about retrieving field values for the current row in a repeating table from the table changing event, but they dont seem to work in InfoPath 2007.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Im using &lt;u&gt;VS 2005 and VB.Net&lt;/u&gt;....&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;This statement returns the value of the OtherPartiesName for the first row of the repeating table:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;e.Site.SelectSingleNode(&amp;quot;/dfs:myFields/dfs:dataFields/ns1:GetRequestResponse/ns1:GetRequestResult/ns1:OtherParties/ns1:OtherParty/ns1:OtherPartiesName&amp;quot;,me.NamespaceManager).Value&lt;br /&gt;&lt;br /&gt;So my xpath is /dfs:myFields/dfs:dataFields/ns1:GetRequestResponse/ns1:GetRequestResult/ns1:OtherParties/ns1:OtherParty/ns1:OtherPartiesName&lt;/p&gt;&lt;p&gt;I dont know if this matters or not, I am using a web service as my main data connection.... &lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Reading other posts, I should be able to be able to determine the field value for the current row from the row changing event by using a statement similar to &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;e.Site.SelectSingleNode(&amp;quot;/my:myfields/my:OtherPartiesName&amp;quot;,me.NamespaceManager).Value&lt;/p&gt;&lt;p&gt;But this returns &amp;quot;Nothing&amp;quot;.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Here is the inner xml for the row changing event:&lt;/p&gt;&lt;p&gt;&amp;lt;OtherPartiesName xmlns=&amp;quot;http://thefirm.com/webservices/&amp;quot;&amp;gt;STATE UNIVERSITY&amp;lt;/OtherPartiesName&amp;gt;&lt;br /&gt;&amp;lt;OtherPartiesRelationship xmlns=&amp;quot;http://thefirm.com/webservices/&amp;quot;&amp;gt;GRANTOR&amp;lt;/OtherPartiesRelationship&amp;gt;&lt;br /&gt;&amp;lt;OtherPartiesPosition xmlns=&amp;quot;http://thefirm.com/webservices/&amp;quot;&amp;gt;Adverse&amp;lt;/OtherPartiesPosition&amp;gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Could someone point me in the right direction??&amp;nbsp;&amp;nbsp; I guess another question I have is how to determine current row number when the event is triggered.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks, close to pulling my hair out....&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>