<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Current() On Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/21827.aspx</link><pubDate>Fri, 20 Jul 2007 05:53:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21827</guid><dc:creator>derrickgh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21827.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=21827</wfw:commentRss><description>&lt;p&gt;Thank you for the reply!! Sorry for not posting more information. Here is what I am trying to do.&lt;/p&gt;&lt;p&gt;&amp;nbsp;The repeating section has attributes of a part number that should auto populate after the part number is entered. The XPath above is for the field that should populate the PART_DESCRIPTION. So basically once the PART_NUMBER is entered it populates the PART_DESCRIPTION which is in the PRODUCTS table. The filter on the field is verifing the value entered in the&amp;nbsp;DonaldsonPartNumber field equals PART_NUMBER in the PRODUCTS table and returns the PART_DESCRIPTION for that part. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;When I insert a new section all the attributes carry from that part number no matter what part number I enter in the other sections...&lt;/p&gt;</description></item><item><title>Re: Current() On Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/21826.aspx</link><pubDate>Fri, 20 Jul 2007 05:25:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21826</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21826.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=21826</wfw:commentRss><description>HI, you didn&amp;#39;t actually tell what you want to do but I assume that you may be should use the last() function instead fo current() but thats just a guess</description></item><item><title>Re: Current() On Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/21812.aspx</link><pubDate>Thu, 19 Jul 2007 17:45:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21812</guid><dc:creator>derrickgh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21812.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=21812</wfw:commentRss><description>&lt;p&gt;Ok, so I got current() to work but now it changes the value of the current field and updates all the rows above it as well.... help! &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;xdXDocument:GetDOM(&amp;quot;PRODUCTS&amp;quot;)/dfs:myFields/dfs:dataFields/d:PRODUCTS/@PART_DESCRIPTION[../@PART_NUMBER = current()/../@DonaldsonPartNumber]&amp;nbsp;&lt;/p&gt;</description></item><item><title>Current() On Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/21792.aspx</link><pubDate>Thu, 19 Jul 2007 02:11:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21792</guid><dc:creator>derrickgh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21792.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=21792</wfw:commentRss><description>&lt;p&gt;I have read every post on the current() feature and can not figure out how to get it to work with the XPath below:&lt;/p&gt;&lt;p&gt;xdXDocument:GetDOM(&amp;quot;PRODUCTS&amp;quot;)/dfs:myFields/dfs:dataFields/d:PRODUCTS/d:PRODUCTS_POM/@POM_PLANT_NUMBER[xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/d:Quote/d:QuotePart/@Part = ../../@BASE_PART and xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/d:Quote/d:QuotePart/@Paint = ../../@PAINT_CODE and xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/d:Quote/d:QuotePart/@Pack = &lt;a href="mailto:../../@PACK_CODE"&gt;../../@PACK_CODE&lt;/a&gt;]&lt;/p&gt;&lt;p&gt;&amp;nbsp;Any help on where the the current() funtion should be inserted in this would be very much appreciated!! &lt;/p&gt;</description></item></channel></rss>