<?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: Reading lookup data from Sharepoint into repeating table</title><link>https://www.infopathdev.com:443/forums/thread/97826.aspx</link><pubDate>Fri, 06 Jun 2014 07:48:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97826</guid><dc:creator>marculos</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97826.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=97826</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank you very much Hilary, that has worked a treat !!&lt;/p&gt;</description></item><item><title>Re: Reading lookup data from Sharepoint into repeating table</title><link>https://www.infopathdev.com:443/forums/thread/97822.aspx</link><pubDate>Thu, 05 Jun 2014 23:09:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97822</guid><dc:creator>marculos</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97822.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=97822</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;appreciate the help ! &lt;/p&gt;&lt;p&gt;&amp;nbsp;Aplogise for the bad naming&amp;nbsp;! I have just renamed the&amp;nbsp;repeating table.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;xdXDocument:GetDOM(&amp;quot;Consumables&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:cPrice[../d:Description = xdXDocument:get-DOM()/my:myFields/my:group9/my:RepeatingTable/my:Item]&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Reading lookup data from Sharepoint into repeating table</title><link>https://www.infopathdev.com:443/forums/thread/97816.aspx</link><pubDate>Thu, 05 Jun 2014 22:54:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97816</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97816.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=97816</wfw:commentRss><description>&lt;p&gt;Is group8 your repeating group? And field16 contains the description? And this is a default value on the price field which is in the same repeating group as field16&lt;/p&gt;
&lt;p&gt;If so, you want this:&lt;br /&gt;xdXDocument:GetDOM(&amp;quot;Consumables&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:cPrice[../d:Description = current()/../my:field16]&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If that isn&amp;#39;t right, please feel free to attach your form template to the Options tab in a reply so I can take a quick peek at it and get you the right XPath.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;(PS - if this form is not in production, please go back through your main data source and give groups and fields meaningful names! It makes your life sooooooo much easier!)&lt;/p&gt;</description></item><item><title>Reading lookup data from Sharepoint into repeating table</title><link>https://www.infopathdev.com:443/forums/thread/97815.aspx</link><pubDate>Thu, 05 Jun 2014 22:17:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97815</guid><dc:creator>marculos</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97815.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=97815</wfw:commentRss><description>&lt;p&gt;Hi, total noob here need help !!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have a&amp;nbsp;list in sharepoint called consumables.&lt;br /&gt;Description&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Price&lt;br /&gt;a4 paper&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;br /&gt;a5 paper&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&lt;br /&gt;paper clips&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25&lt;/p&gt;&lt;p&gt;What I&amp;nbsp;am trying to do is have a repeating table in an InfoPath Form where the user can select the description and the relevant price is displayed. &lt;br /&gt;&lt;br /&gt;The price is&amp;nbsp;incorrect always e.g 10 when I select a different Product in each repeating table.&lt;/p&gt;&lt;p&gt;Guess I am not understanding something&amp;nbsp;here.&lt;/p&gt;&lt;p&gt;Here is the xpath for the price field which is a lookup on the sharepoint list.&lt;br /&gt;xdXDocument:GetDOM(&amp;quot;Consumables&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:cPrice[../d:Description = xdXDocument:get-DOM()/my:myFields/my:group7/my:group8/my:field16]&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any help would be most appreciated.&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>