<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: problem with rule in repeating table/section</title><link>https://www.infopathdev.com:443/forums/thread/84611.aspx</link><pubDate>Wed, 21 Nov 2012 15:07:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84611</guid><dc:creator>roland_s</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84611.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=84611</wfw:commentRss><description>&lt;p&gt;Hey,&amp;nbsp;&lt;/p&gt;&lt;p&gt;works perfekt, just replaced the&amp;nbsp;term in the xpath: &lt;/p&gt;&lt;p&gt;xdXDocument:GetDOM(&amp;quot;list_countries&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Abbreviation[&lt;strong&gt;current()&lt;/strong&gt; = ../d:Title]&lt;/p&gt;&lt;p&gt;thank you, really appreciate it!&lt;/p&gt;</description></item><item><title>Re: problem with rule in repeating table/section</title><link>https://www.infopathdev.com:443/forums/thread/84606.aspx</link><pubDate>Wed, 21 Nov 2012 13:20:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84606</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84606.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=84606</wfw:commentRss><description>&lt;p&gt;I think you&amp;#39;re on the right path. I&amp;#39;m assuming field_country is the node in the main data source. If so, try using current() instead. This means InfoPath will use the current value of the node you&amp;#39;re on (that is, the dropdown) as the filter in your rule.&lt;/p&gt;&lt;p&gt;Let us know if this works!&lt;/p&gt;</description></item><item><title>problem with rule in repeating table/section</title><link>https://www.infopathdev.com:443/forums/thread/84600.aspx</link><pubDate>Wed, 21 Nov 2012 08:12:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84600</guid><dc:creator>roland_s</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84600.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=84600</wfw:commentRss><description>&lt;p&gt;Hi everybody, &lt;/p&gt;&lt;p&gt;situation as follows: i have a sharepoint list with two columns, one with country names, the second one with the according abbreviation. So e.g. one line says &amp;quot;United Kingdom&amp;quot; in the country column, and &amp;quot;UK&amp;quot; in the abbreviation column. &lt;/p&gt;&lt;p&gt;Now i&amp;nbsp;got a dropdown in infopath, filled with the country names by adding a secondary data connection and an ordinary textbox, which is filled with the appropriate abbreviation by rule, when a country is selected in the dropdown. &lt;/p&gt;&lt;p&gt;This Rule looks like this (i hope i get it translated correctly, i&amp;#39;m using the german version of infopath):&lt;/p&gt;&lt;p&gt;Action rule &amp;quot;Set a field&amp;#39;s value&amp;quot;: field_abbr = &amp;quot;SharePointListItem_RW - abbreviation&amp;quot; [field_country=&amp;quot;SharePointListItem_RW - title&amp;quot;] &lt;/p&gt;&lt;p&gt;So far, so good. But when i use this rule in a repeating table, it doesn&amp;#39;t work any more, because at some point, the abbreviation field of the second line is filled with a value which refers to the first line of the table. Which makes quite sense, given the way the rule is defined. But nevertheless i need a solution for a reapting table&amp;nbsp;and don&amp;#39;t know how to do it.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;My goal is, that i can add as many lines as i want in the table (each line has then of course a dropdown&amp;nbsp;with countrynames and a textbox for the abbreviation) select a different country in every line and get the abbreviation right in every line. &lt;/p&gt;&lt;p&gt;Any help would be greatly appreciated.&lt;/p&gt;&lt;p&gt;Regards&amp;nbsp;&lt;/p&gt;&lt;p&gt;Roland&lt;/p&gt;</description></item></channel></rss>