<?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: Assistance with current() in Infopath 2003</title><link>https://www.infopathdev.com:443/forums/thread/28779.aspx</link><pubDate>Fri, 16 May 2008 21:11:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28779</guid><dc:creator>joshnya2</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28779.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=28779</wfw:commentRss><description>&lt;p&gt;&lt;font face="Courier New"&gt;count(../preceding-sibling::my:RowNode) + 1&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;This doesn&amp;#39;t work and is as close as I have gotten. Any idea&amp;#39;s how to change this to get the current row value? Thanks.&lt;/p&gt;</description></item><item><title>Re: Assistance with current() in Infopath 2003</title><link>https://www.infopathdev.com:443/forums/thread/28761.aspx</link><pubDate>Fri, 16 May 2008 14:41:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28761</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28761.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=28761</wfw:commentRss><description>&lt;p&gt;On your button rule where you reference windowsUserID you would want the current function so that it get the current row value not the first value.&lt;/p&gt;
&lt;p&gt;The syntax is often tricky, especially in 2003, where you can not extract the xpath easily.&lt;/p&gt;
&lt;p&gt;Look at examples but you want to reference the repeating node with the current function. &lt;/p&gt;</description></item><item><title>Assistance with current() in Infopath 2003</title><link>https://www.infopathdev.com:443/forums/thread/28733.aspx</link><pubDate>Wed, 14 May 2008 20:24:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28733</guid><dc:creator>joshnya2</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28733.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=28733</wfw:commentRss><description>&lt;p&gt;I read about 30 articles on this site pertaining to this but was unable to solve my issue so I am asking for assistance if possible.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have a repeating table with 4 columns.&lt;/p&gt;
&lt;p&gt;In Column 1 is a text box linked via data connection to our Active Directory web service. It is linked to the attribute windowsUserId&lt;/p&gt;
&lt;p&gt;Column 4&amp;nbsp;contains a button, when on click, retreives the firstName and lastName of the windowsUserId entered in column 1 and displays them in text fields in columns 2 and 3. All of this works perfectly.&lt;/p&gt;
&lt;p&gt;When I insert another row, the button click updates&amp;nbsp;all rows based upon whats in column 1 of the current row. How/where do I use current() in my form so that the button in each row only updates columns&amp;nbsp;2 and&amp;nbsp;3 of that row based off the information from column 1 of that row.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The app generated code on my button event is:&lt;/p&gt;
&lt;p&gt;XDocument.DOM.setProperty &amp;quot;SelectionNamespaces&amp;quot;, &amp;quot;xmlns:my=&amp;quot;&amp;quot;http://schemas.microsoft.com/office/infopath/2003/myXSD/2008-05-14T19:26:17&amp;quot;&amp;quot;&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any assistance with this would be very appreciated, thanks.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>