<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Repeating Table Pulling Data from Sharepoint List Only Shows First Row Data</title><link>https://www.infopathdev.com:443/forums/thread/60807.aspx</link><pubDate>Thu, 28 Oct 2010 17:11:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60807</guid><dc:creator>FSYR2010</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60807.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=60807</wfw:commentRss><description>&lt;p&gt;Makes sense, thanks!&lt;/p&gt;</description></item><item><title>Re: Repeating Table Pulling Data from Sharepoint List Only Shows First Row Data</title><link>https://www.infopathdev.com:443/forums/thread/60804.aspx</link><pubDate>Thu, 28 Oct 2010 16:07:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60804</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60804.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=60804</wfw:commentRss><description>&lt;p&gt;In your original XPath, the XPath is absolute. So it is starting at the very top of the tree (if you look in the data source task pane) and finding the ItemDescription node... the &lt;strong&gt;first&lt;/strong&gt; item description node. Your rule, however is firing based on the change of &lt;strong&gt;a &lt;/strong&gt;ItemDescription node. That makes the ItemDescription node that is causing the rule to fire the current node..... which means that your original XPath said &amp;quot;Compare this to the first ItemDescription node you find&amp;quot; and the revised XPath said &amp;quot;Compare this to this very particular ItemDescription node that just changed&amp;quot;.&lt;/p&gt;
&lt;p&gt;For more on current() and other functions, check out &lt;a href="http://office.microsoft.com/en-us/infopath-help/functions-in-infopath-HP001155281.aspx"&gt;this Office Online article&lt;/a&gt;. Search for current() to find that specific section.&lt;/p&gt;</description></item><item><title>Re: Repeating Table Pulling Data from Sharepoint List Only Shows First Row Data</title><link>https://www.infopathdev.com:443/forums/thread/60793.aspx</link><pubDate>Thu, 28 Oct 2010 12:50:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60793</guid><dc:creator>FSYR2010</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60793.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=60793</wfw:commentRss><description>&lt;p&gt;That did it!&amp;nbsp; Thanks!&amp;nbsp; Why would using &amp;#39;current()&amp;#39; work and not ItemDescription though?&lt;/p&gt;</description></item><item><title>Re: Repeating Table Pulling Data from Sharepoint List Only Shows First Row Data</title><link>https://www.infopathdev.com:443/forums/thread/60760.aspx</link><pubDate>Wed, 27 Oct 2010 20:58:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60760</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60760.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=60760</wfw:commentRss><description>&lt;p&gt;Try this instead:&lt;/p&gt;&lt;p&gt;xdXDocument:GetDOM(&amp;quot;OfficeSupplies&amp;quot;)/dfs:myFields/dfs:dataFields/dfs:Office_Supplies/@BIN_NUMBER[../@ID = current()]&lt;/p&gt;</description></item><item><title>Re: Repeating Table Pulling Data from Sharepoint List Only Shows First Row Data</title><link>https://www.infopathdev.com:443/forums/thread/60759.aspx</link><pubDate>Wed, 27 Oct 2010 20:05:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60759</guid><dc:creator>FSYR2010</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60759.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=60759</wfw:commentRss><description>&lt;p&gt;It&amp;#39;s InfoPath 2007.&amp;nbsp; Here&amp;#39;s the XPath:&lt;/p&gt;
&lt;p&gt;xdXDocument:GetDOM(&amp;quot;OfficeSupplies&amp;quot;)/dfs:myFields/dfs:dataFields/dfs:Office_Supplies/@BIN_NUMBER[../@ID = xdXDocument:get-DOM()/my:myFields/my:ItemsRequested/my:Item/my:ItemDescription]&lt;/p&gt;</description></item><item><title>Re: Repeating Table Pulling Data from Sharepoint List Only Shows First Row Data</title><link>https://www.infopathdev.com:443/forums/thread/60758.aspx</link><pubDate>Wed, 27 Oct 2010 20:02:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60758</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60758.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=60758</wfw:commentRss><description>&lt;p&gt;It sure looks from your description like you have this set up right.... Are you using InfoPath 2003 by any chance? Because if the filter isn&amp;#39;t using current() to get the correct ItemDescription, that could be your problem, and as I recall, IP 2003 could be a bit flaky. Try this -- in the formula dialog, select edit XPath, and paste the results in a reply...&lt;/p&gt;</description></item><item><title>Re: Repeating Table Pulling Data from Sharepoint List Only Shows First Row Data</title><link>https://www.infopathdev.com:443/forums/thread/60757.aspx</link><pubDate>Wed, 27 Oct 2010 19:53:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60757</guid><dc:creator>FSYR2010</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60757.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=60757</wfw:commentRss><description>&lt;p&gt;Yes, the rules are set on the main data source Item Description field.&amp;nbsp; And I already have a filter set on that rule.&amp;nbsp; The rule sets BinNumber (main data source) to the value (using a formula) @BIN_NUMBER[@ID = ItemDescription].&amp;nbsp; Unless I&amp;#39;m thinking wrong, this formula should set BinNumber (main data source) to BIN_NUMBER (secondary data source) and filter out everything except when ID (secondary data source) equals ItemDescription (main data source).&lt;/p&gt;
&lt;p&gt;I should also mention, in the ItemDescription field (main data source) properties I have it set so that the Value is @ID, but the Display Name is @DESCRIPTION.&lt;/p&gt;</description></item><item><title>Re: Repeating Table Pulling Data from Sharepoint List Only Shows First Row Data</title><link>https://www.infopathdev.com:443/forums/thread/60756.aspx</link><pubDate>Wed, 27 Oct 2010 19:42:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60756</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60756.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=60756</wfw:commentRss><description>&lt;p&gt;Hi, and welcome!&lt;/p&gt;
&lt;p&gt;You need to add a filter to the data values for your rules. Your rule is set on your main data source description field, right? And the rule sets the value of bin number (for example) to the bin number from the SharePoint list. But when you select that bin number from the SharePoint list data source, you need to add a filter to it. There&amp;#39;s a button in the dialog that you select a field from that says filter data. In this case, your filter would be where the item description in your main data source is equal to the item description in the SharePoint list.&lt;/p&gt;
&lt;p&gt;For more on filtering, &lt;a href="http://office.microsoft.com/en-us/infopath-help/filter-the-data-that-is-displayed-in-a-control-HA010024281.aspx"&gt;this Office Online article&lt;/a&gt; may be a good place to start. &lt;/p&gt;</description></item><item><title>Repeating Table Pulling Data from Sharepoint List Only Shows First Row Data</title><link>https://www.infopathdev.com:443/forums/thread/60755.aspx</link><pubDate>Wed, 27 Oct 2010 18:39:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60755</guid><dc:creator>FSYR2010</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60755.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=60755</wfw:commentRss><description>&lt;p&gt;I have an Infopath 2007 form that has a repeating table.&amp;nbsp; I also have a secondary data connection receiving data from a Sharepoint List.&amp;nbsp; This list contains our office supplies (description, bin number, stock number).&amp;nbsp; My repeating table has all three of these fields. I want to set it up so that when a user fills out the form, all they have to select is the Item Description and the Bin Number and Stock Number automatically pull in from the Sharepoint List.&amp;nbsp; I have rules setup on the Item Description field so that when a user selects the Item Description the Bin/Stock Number is filtered and only display the number corresponding to the Item Description that matches the ID of the Item Description in the Sharepoint List.&lt;/p&gt;
&lt;p&gt;When I test it out, the first row of the repeating table works perfectly.&amp;nbsp; However, when if I insert more rows and select a different Item Description the Bin and Stock Numbers on the new row are the same as the first.&amp;nbsp; Any ideas?&lt;/p&gt;</description></item></channel></rss>