<?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: Nested Repeating Groups and the current() function</title><link>https://www.infopathdev.com:443/forums/thread/54642.aspx</link><pubDate>Fri, 07 May 2010 19:13:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54642</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54642.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=54642</wfw:commentRss><description>&lt;p&gt;Just wanted to catch the thread up with the resolution -- in IP 2003, we need to use rules with the current() function -- it doesn&amp;#39;t seem to work in default values.&lt;/p&gt;</description></item><item><title>Re: Nested Repeating Groups and the current() function</title><link>https://www.infopathdev.com:443/forums/thread/54555.aspx</link><pubDate>Wed, 05 May 2010 19:27:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54555</guid><dc:creator>Nick22</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54555.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=54555</wfw:commentRss><description>&lt;p&gt;I was afraid of that with the current() funtion not working well in IP2003.&lt;/p&gt;
&lt;p&gt;I am a bit skeptical that rules would work in this situation as the repeating sections have fields that are based on other data fields of that instance, and a rule would set all values in a repeating section to the same value, which would not work.&amp;nbsp; EX: Sub-total of Material price is dependant on Material (drop down) and length (entered value), which can be different for each instance.&amp;nbsp; If it is any help, while in theory there could be between 1 - unbounded instances, there are mostly only between 1 and 5 in practice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am curious to hear your thoughts&amp;nbsp;you see a work around for IP2003.&lt;/p&gt;
&lt;p&gt;Many thanks again for your help!&lt;/p&gt;
&lt;p&gt;-Nick&lt;/p&gt;</description></item><item><title>Re: Nested Repeating Groups and the current() function</title><link>https://www.infopathdev.com:443/forums/thread/54502.aspx</link><pubDate>Tue, 04 May 2010 18:10:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54502</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54502.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=54502</wfw:commentRss><description>&lt;p&gt;If I recall correctly, current() didn&amp;#39;t work correctly in default values for IP 2003. You&amp;#39;ll need to use a rule. It appears to me from your schema outline that Material name is in the same repeating group as Price per kg? Can you just attach a sample of your template? Under the Options tab, there is a place to attach a file...&lt;/p&gt;</description></item><item><title>Re: Nested Repeating Groups and the current() function</title><link>https://www.infopathdev.com:443/forums/thread/54321.aspx</link><pubDate>Thu, 29 Apr 2010 00:17:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54321</guid><dc:creator>Nick22</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54321.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=54321</wfw:commentRss><description>&lt;p&gt;IP 2003.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Price_per_kg is something I assume has to be a calculated default because it is in a repeating group.&amp;nbsp; If I use a rule on Material_Name, it sets all instances of Price_per_kg to one value.&amp;nbsp; The functionality that I need is to have (0 to unbounded) instances of &amp;quot;Raw_Material&amp;quot; with independant Material_Name values with their corresponding Price_per_kg values from the secondary datasource.&amp;nbsp; In other words, I need it to function like a VLOOKUP in Excel and for it to be updated automatically.&lt;/p&gt;</description></item><item><title>Re: Nested Repeating Groups and the current() function</title><link>https://www.infopathdev.com:443/forums/thread/54314.aspx</link><pubDate>Wed, 28 Apr 2010 22:35:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54314</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54314.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=54314</wfw:commentRss><description>&lt;p&gt;Are you using IP 2003 or 2007? Do you want the Price_per_kg to be a calculated default? Or is its value set by a rule on the Material_Name?&lt;/p&gt;</description></item><item><title>Nested Repeating Groups and the current() function</title><link>https://www.infopathdev.com:443/forums/thread/54122.aspx</link><pubDate>Fri, 23 Apr 2010 23:20:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54122</guid><dc:creator>Nick22</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54122.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=54122</wfw:commentRss><description>&lt;p&gt;I am trying to figure out how to get the current item of a repeating group that is nested within another repeating group.&amp;nbsp; Can anyone help with the xpath for this?&lt;/p&gt;
&lt;p&gt;My structure in my InfoPath form looks something like this:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Assembly_Item (&lt;strong&gt;repeating&lt;/strong&gt; group)&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;my:Part_Families (group)&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;ns1:Purchased_Part (&lt;strong&gt;repeating&lt;/strong&gt; group)&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;my:Component_Name &lt;em&gt;(user selected from drop down menu)&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;my:Price_per_Unit&amp;nbsp;&lt;em&gt;(calculated in background)&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;ns1:Raw_Material (&lt;strong&gt;repeating&lt;/strong&gt; group)&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;my:Material_Name &lt;em&gt;(user selected from drop down menu)&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;my:Price_per_kg&lt;em&gt; (calculated in background)&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;p&gt;I also have a secondary data souce, which is a SharePoint list, with the data that I need to filter.&amp;nbsp; There is&amp;nbsp;one list with a&amp;nbsp;column for &amp;quot;Component_Name&amp;quot; and a corresponding &amp;quot;Price_per_Unit&amp;quot;, as well as a list with columns &amp;quot;Material_Name&amp;quot; and &amp;quot;Price_per_kg&amp;quot;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The question, using this example, is how to get the current field for the &amp;quot;Component_Name&amp;quot;&amp;nbsp;and &amp;quot;Material_Name&amp;quot;&amp;nbsp;fields to use for filtering&amp;nbsp;the corresponding secondary data sources to get &amp;quot;Price_per_Unit&amp;quot; and &amp;quot;Price_per_kg&amp;quot;, respectively.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Nick22&lt;/p&gt;</description></item></channel></rss>