<?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: Using current() repeating table from data connection</title><link>https://www.infopathdev.com:443/forums/thread/115949.aspx</link><pubDate>Thu, 30 Mar 2017 19:43:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115949</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115949.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=115949</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Weird. I&amp;#39;m not sure I&amp;#39;ve ever tried double eval in a list form. I may have a chance to try it tomorrow - I&amp;#39;ll let you know if I have the same result.&lt;/p&gt;</description></item><item><title>Re: Using current() repeating table from data connection</title><link>https://www.infopathdev.com:443/forums/thread/115912.aspx</link><pubDate>Fri, 24 Mar 2017 16:21:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115912</guid><dc:creator>samonenate</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115912.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=115912</wfw:commentRss><description>The form data source is a SharePoint list on SP2013.  I created the list in SP first, then I created the Infopath form.  The form is a browser form that opens when a user edits or creates a new a SP list item.  I have tried using the Xpath in a calculated field and in a text box with a rule to set the value on form load.  Either way I get the same incorrect formatting for the concat...semicolon only at the end.  
&lt;br /&gt;
&lt;br /&gt;

The SP list in the Eval function, has another SP lookup field.  So there are really 3 SP lists:
&lt;br /&gt;
&lt;br /&gt;

(1) Main Data
   (2) Secondary (Workbaskets_US_Assignments)
         (3) Secondary (Assignments)
&lt;br /&gt;
&lt;br /&gt;

The numbers populating from the Xpath are the ID numbers from Assignments (3) SP list.  I did see a warning when I ran the design checker in InfoPath, see attached image.</description></item><item><title>Re: Using current() repeating table from data connection</title><link>https://www.infopathdev.com:443/forums/thread/115909.aspx</link><pubDate>Fri, 24 Mar 2017 14:50:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115909</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115909.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=115909</wfw:commentRss><description>Oh. I see. I hadn&amp;#39;t realized you were saying the form is behaving differently in the browser vs. in the filler. I&amp;#39;ve never seen that happen w/ a double eval before. When you say &amp;quot;SharePoint view&amp;quot; - you do mean in the form itself in the browser, right? You aren&amp;#39;t talking about a promoted property value or anything like that? What version of SharePoint are you using? Is the value a default in a field, in a calculated value, or in a rule that sets a field? I&amp;#39;d like to see if I can reproduce the issue.</description></item><item><title>Re: Using current() repeating table from data connection</title><link>https://www.infopathdev.com:443/forums/thread/115908.aspx</link><pubDate>Fri, 24 Mar 2017 14:43:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115908</guid><dc:creator>samonenate</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115908.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=115908</wfw:commentRss><description>I am still getting the same results.  When I preview the form in Infopath, the text box is formatted correctly.  When I publish to SharePoint, the formula only places the semicolon at the end.  Both formulas you provided give the same results.
&lt;br /&gt;
&lt;br /&gt;
InfoPath preview: 78;56;45
&lt;br /&gt;
&lt;br /&gt;
SharePoint view: 785645;</description></item><item><title>Re: Using current() repeating table from data connection</title><link>https://www.infopathdev.com:443/forums/thread/115905.aspx</link><pubDate>Fri, 24 Mar 2017 00:21:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115905</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115905.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=115905</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;It looks right to me. I guess you could always try:&lt;/p&gt;&lt;p&gt;xdMath:Eval(xdMath:Eval(xdXDocument:GetDOM(&amp;quot;Workbaskets_US_Assignments&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[d:US_x0023_ = xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:ID]/d:New_x0020_Assignment_2, &amp;#39;concat(., &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&amp;nbsp;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using current() repeating table from data connection</title><link>https://www.infopathdev.com:443/forums/thread/115900.aspx</link><pubDate>Thu, 23 Mar 2017 15:38:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115900</guid><dc:creator>samonenate</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115900.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=115900</wfw:commentRss><description>Sure, here is the Xpath:
&lt;br /&gt;
&lt;br /&gt;
xdMath:Eval(xdMath:Eval(xdXDocument:GetDOM(&amp;quot;Workbaskets_US_Assignments&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[d:US_x0023_ = xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:ID], &amp;#39;concat(d:New_x0020_Assignment_2, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)</description></item><item><title>Re: Using current() repeating table from data connection</title><link>https://www.infopathdev.com:443/forums/thread/115899.aspx</link><pubDate>Thu, 23 Mar 2017 15:30:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115899</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115899.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=115899</wfw:commentRss><description>Weird. Can you paste the full XPath of your formula back in a reply?</description></item><item><title>Re: Using current() repeating table from data connection</title><link>https://www.infopathdev.com:443/forums/thread/115898.aspx</link><pubDate>Thu, 23 Mar 2017 15:15:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115898</guid><dc:creator>samonenate</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115898.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=115898</wfw:commentRss><description>It is working now, thanks.  But the semicolon is not placed between values, only at the end.
&lt;br /&gt;
&lt;br /&gt;
It is showing this:  
&lt;br /&gt;
&lt;br /&gt;
36589;
&lt;br /&gt;
&lt;br /&gt;
But it should be showing this:
&lt;br /&gt;
&lt;br /&gt;
36;58;9</description></item><item><title>Re: Using current() repeating table from data connection</title><link>https://www.infopathdev.com:443/forums/thread/115894.aspx</link><pubDate>Thu, 23 Mar 2017 14:35:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115894</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115894.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=115894</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Try:&lt;/p&gt;&lt;p&gt;dMath:Eval(xdMath:Eval(xdXDocument:GetDOM(&amp;quot;Workbaskets_US_Assignments&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[d:US_x0023_ = xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:ID], &amp;#39;concat(d:New_x0020_Assignment_2, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Using current() repeating table from data connection</title><link>https://www.infopathdev.com:443/forums/thread/115886.aspx</link><pubDate>Wed, 22 Mar 2017 22:57:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115886</guid><dc:creator>samonenate</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115886.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=115886</wfw:commentRss><description>I am trying to extract data from a repeating table from a secondary data connection based on a filter from the main data source.  Then concat that data in text box.  My problem is around using current() (I think).  When the field I am filtering by on the main data source is blank, the formula works (data populates from all the rows with blank data), but if the data matches the filter condition, only the data from the first row of the table populates in the text box.
&lt;br /&gt;
&lt;br /&gt;
What I want is something like this: 
&lt;br /&gt;
&lt;br /&gt;
Text Box =  45;69;77  (pulls from the row that meets the filter condition)
&lt;br /&gt;
&lt;br /&gt;
What I get is this:
&lt;br /&gt;
&lt;br /&gt;
Text Box = 78 (pulls from the first row, not the correct row from the table)
&lt;br /&gt;
&lt;br /&gt;
Here is my formula:
&lt;br /&gt;
&lt;br /&gt;
dMath:Eval(xdMath:Eval(xdXDocument:GetDOM(&amp;quot;Workbaskets_US_Assignments&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[d:US_x0023_ = xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:ID], &amp;#39;concat(xdXDocument:GetDOM(&amp;quot;Workbaskets_US_Assignments&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:New_x0020_Assignment_2, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)
&lt;br /&gt;
&lt;br /&gt;
Do I need to add current() somewhere?</description></item></channel></rss>