<?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: filtering concatinated textbox generated from a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/58117.aspx</link><pubDate>Wed, 18 Aug 2010 14:56:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58117</guid><dc:creator>texastwo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58117.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=58117</wfw:commentRss><description>&lt;p&gt;Apparently, I need to take a different tack on the path to resolving this.&lt;/p&gt;
&lt;p&gt;The @select =&amp;quot;2&amp;quot; approach is very robust. The problem is I can&amp;#39;t filter the results and I receive everything&amp;nbsp;in the column. That is why&amp;nbsp;I introduced the @EID as a filtering agent. @EID was a decimal value, but I made it a string and&amp;nbsp;forced a value into it like &amp;quot;161&amp;quot; using the same approach as offered by&amp;nbsp;@select&amp;nbsp;=&amp;quot;2&amp;quot;&amp;nbsp;&amp;nbsp;. No results. But I can see the value in SP list. (both @Select and @EID are in the same SP list.)&amp;nbsp; Last attempt: expression=&amp;quot;substring(xdMath:Eval(xdMath:Eval(../../dfs:SecData[@Select=&amp;amp;quot;2&amp;amp;quot;][@EID=&amp;amp;quot;161&amp;amp;quot;], &amp;#39;concat(&amp;amp;quot;, &amp;amp;quot;, @ID)&amp;#39;), &amp;amp;quot;..&amp;amp;quot;), 2)&amp;quot;&lt;/p&gt;
&lt;p&gt;Do you have suggestions on using the double eval, or another method within the form to compare my secondary data column, @EID and only show results that match the comma delimited string created by @select=&amp;quot;2&amp;quot; that match&amp;nbsp;my:forms EID= @EID. I looked at the webservice for getlist, but I&amp;#39;m not farmiliar with VB coding, and trying to remain with just inopath and sharepoint as my basic tools.&lt;/p&gt;
&lt;p&gt;Thanks for your time, and expertise!&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: filtering concatinated textbox generated from a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/58091.aspx</link><pubDate>Tue, 17 Aug 2010 15:50:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58091</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58091.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=58091</wfw:commentRss><description>&lt;p&gt;It should be&amp;nbsp; xdXDocument:get-DOM()/my:myFields/my:Constants/my:EID, without quotes around it.&lt;/p&gt;</description></item><item><title>Re: filtering concatinated textbox generated from a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/58088.aspx</link><pubDate>Tue, 17 Aug 2010 15:25:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58088</guid><dc:creator>texastwo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58088.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=58088</wfw:commentRss><description>&lt;p&gt;I guess I don&amp;#39;t understanding the syntax! From the manifest file, when I&amp;#39;m dealing with secondary and main data sources, what is the syntax for main in the bracketed formula.&amp;nbsp;[@EID = &amp;quot;/my:myFields/my:Summary/my:testfld&amp;quot;]&lt;/p&gt;
&lt;p&gt;I created test field and copied it verbatium from the manifest, thats not working and the simple &amp;quot;my:testfld&amp;quot; appears to not work as well. I want to filter my secondary data, and only use the secondary data that matches my main testfld value?&lt;/p&gt;
&lt;p&gt;Any thoughts?&lt;/p&gt;
&lt;p&gt;Current expression from manifest...&amp;nbsp;&amp;nbsp; &amp;quot;substring(xdMath:Eval(xdMath:Eval(../../dfs:secdata[@EID = &amp;amp;quot;/my:myFields/my:Summary/my:testfld&amp;amp;quot;], &amp;#39;concat(&amp;amp;quot;, &amp;amp;quot;, @ID)&amp;#39;), &amp;amp;quot;..&amp;amp;quot;), 2)&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: filtering concatinated textbox generated from a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/57457.aspx</link><pubDate>Thu, 29 Jul 2010 18:47:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57457</guid><dc:creator>texastwo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57457.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=57457</wfw:commentRss><description>&lt;p&gt;expression=&amp;quot;substring(xdMath:Eval(xdMath:Eval(../../dfs:Secdata[@select=&amp;amp;quot;2&amp;amp;quot;][@EID =&amp;amp;quot; xdXDocument:get-DOM()/my:myFields/my:Constants/my:EID&amp;amp;quot; ], &amp;#39;concat(&amp;amp;quot;, &amp;amp;quot;, @ID)&amp;#39;), &amp;amp;quot;..&amp;amp;quot;), 2)&amp;quot;&lt;/p&gt;
&lt;p&gt;Not having much success joining the second bracket. I&amp;#39;ve tried just about every combination.... even = my:EID&lt;/p&gt;</description></item><item><title>Re: filtering concatinated textbox generated from a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/56756.aspx</link><pubDate>Mon, 12 Jul 2010 14:32:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56756</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56756.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=56756</wfw:commentRss><description>&lt;p&gt;You seem to be making this more complicated than it needs to be.&amp;nbsp; How about this?:&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;, &amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&lt;font face=""&gt;substring(xdMath:Eval(xdMath:Eval(../../dfs:Secdata [@IOR = &amp;quot;yes&amp;quot;][@FormID = my:FormID], &amp;#39;concat(&amp;quot;, &amp;quot;, @ID)&amp;#39;), &amp;quot;..&amp;quot;), 2)&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;, &amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;You should use the Insert Field... dialog to select the my:FormID field from your main data source, because just typing my:FormID there won&amp;#39;t work.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>filtering concatinated textbox generated from a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/56520.aspx</link><pubDate>Mon, 05 Jul 2010 00:39:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56520</guid><dc:creator>texastwo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56520.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=56520</wfw:commentRss><description>&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;I “think” I&amp;#39;m dealing with apples and oranges here, or the old Texas saying may apply&amp;nbsp;&amp;quot;it’s hard to make chicken salad out of chicken dodo&amp;quot;.&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;(A)&amp;nbsp;&lt;a href="http://www.infopathdev.com/forums/p/7124/30263.aspx#30263"&gt;&lt;font color="#800080"&gt;http://www.infopathdev.com/forums/p/7124/30263.aspx#30263&lt;/font&gt;&lt;/a&gt;&amp;nbsp;makes reference to: xdMath:Eval(xdMath:Eval(../my:Group/my:RepeatingGroup, &amp;#39;&lt;strong&gt;substring(concat(my:Value, &amp;quot;;&amp;quot;), 1, (my:Select = string(true())) * string-length(concat(my:Value, &amp;quot;;&amp;quot;)))&amp;#39;), &amp;quot;..&amp;quot;)&lt;/strong&gt; this works well for&amp;nbsp;repeating tables bound to &amp;quot;main&amp;quot;.&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;(B)&amp;nbsp;&lt;a href="http://www.infopathdev.com/forums/p/15704/56192.aspx#56192"&gt;&lt;font color="#800080"&gt;http://www.infopathdev.com/forums/p/15704/56192.aspx#56192&lt;/font&gt;&lt;/a&gt;&amp;nbsp;makes reference to:&amp;nbsp;&lt;strong&gt; substring(xdMath:Eval(xdMath:Eval(../../dfs:Inventory_Master_List[@IOR = &amp;quot;yes&amp;quot;], &amp;#39;concat(&amp;quot;, &amp;quot;, @ID)&amp;#39;), &amp;quot;..&amp;quot;), 2)&lt;/strong&gt;&amp;nbsp;&amp;nbsp;and this works very well for secondary repeating tables.&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;I’ve hit the wall on what I believe to be my short knowlege of the&amp;nbsp;syntax for main and secondary repeating tables. &amp;quot;B&amp;quot; works very well for most of my needs however by design, everything in the List populates my concatenated textbox when the SharePoint list equals Yes in the @IOR column. I have found no way to filter the statement similar to &amp;quot;A&amp;quot;.&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;To accommodate and add a filtering agent, I have changed my methodology to force the user community to save the form after some minimal required information. When this form is submitted, it sets the @FormID field and adds it to a calendar. This allows me to gather the submitted form’s @FormID and apply it towards the filtering element of the &amp;quot;B&amp;quot; expression. &lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;The goal is something like: If my repeating table has Secdata @IOR equaling Yes, I add the @ID to my text box. But the only results I want to see in the textbox are the ones that have @IOR equaling Yes and if the @FormID= FormID. Or specifically, only the Secdata @IOR equaling Yes that was added to the sharepoint list from the respective form (@FormID).&lt;/span&gt; 
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;substring(xdMath:Eval(xdMath:Eval(../../dfs:Secdata [@IOR = &amp;quot;yes&amp;quot;], &amp;#39;concat(&amp;quot;, &amp;quot;, @ID)&amp;#39;), &amp;quot;..&amp;quot;), 2)&amp;nbsp;(../../dfs:Secdata[@FormID = my:FormID]) * string-length(concat(my:FormID, &amp;quot;;&amp;quot;)))&amp;#39;), &amp;quot;..&amp;quot;).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>