<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Concatenating Data from a Repeating Field which references a Data Source</title><link>https://www.infopathdev.com:443/forums/thread/80621.aspx</link><pubDate>Mon, 16 Jul 2012 13:00:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80621</guid><dc:creator>EpicQQs</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80621.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80621</wfw:commentRss><description>&lt;p&gt;I was able to do this!&lt;br /&gt;&lt;br /&gt;I used the following as a set field to current item rule on the MSLB control.&lt;/p&gt;&lt;p&gt;xdMath:Eval(xdMath:Eval(xdXDocument:GetDOM(&amp;quot;Master Data List&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Door_x0020_Owner[(../d:Title = xdXDocument:get-DOM()/my:myFields/my:repeatingSection/my:accessRights) and (../d:Location = xdXDocument:get-DOM()/my:myFields/my:SponsorDetails/my:workLocation) and (../d:Category = &amp;quot;Access&amp;quot;)], &amp;#39;concat(., substring(&amp;quot;;&amp;quot;, 1, string-length(.)), &amp;quot; &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/p&gt;&lt;p&gt;I&amp;#39;m going to test this out on submit and see if it is accurate, but it looks good so far!&lt;/p&gt;</description></item><item><title>Re: Concatenating Data from a Repeating Field which references a Data Source</title><link>https://www.infopathdev.com:443/forums/thread/80588.aspx</link><pubDate>Fri, 13 Jul 2012 18:50:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80588</guid><dc:creator>EpicQQs</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80588.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80588</wfw:commentRss><description>&lt;p&gt;Alright, I&amp;#39;m almost there&amp;nbsp;Jimmy - you fixed my original problem above...&amp;nbsp;there is one&amp;nbsp;remaining&amp;nbsp;feature&amp;nbsp;that I am trying to solve.&amp;nbsp; The datasource I am pulling from in SharePoint&amp;nbsp;is a List that contains&amp;nbsp;the fields &amp;#39;Name&amp;#39;, &amp;#39;Category&amp;#39;, &amp;#39;Location&amp;#39; and &amp;#39;Door Owner&amp;#39;.&lt;/p&gt;&lt;p&gt;When a user selects a value (one of the &lt;strong&gt;Names&lt;/strong&gt;, i.e. Office Only, FFO Specific, or IDF)&amp;nbsp;from&amp;nbsp;my MSLB, I would like&amp;nbsp;InfoPath to pull the &lt;strong&gt;Door Owner&lt;/strong&gt; from that location and store it into a text box (called &amp;#39;&lt;strong&gt;Door Owners_IP&lt;/strong&gt;&amp;#39;).&amp;nbsp; I figure I will probably have to do this on submit, because otherwise the&amp;nbsp;eval function&amp;nbsp;seems to get confused if a user checks and unchecks boxes or changes their mind.&lt;/p&gt;&lt;p&gt;&lt;img style="width:1187px;height:173px;" src="http://oi50.tinypic.com/10r49zl.jpg" width="1187" height="173" alt="" /&gt;&lt;/p&gt;&lt;p&gt;Ideally though, I would select &amp;#39;Office Only&amp;#39; and it would stick &amp;#39;N/A&amp;#39; into the text box.&amp;nbsp; Then I could pick &amp;#39;FFO Specific&amp;#39; and it would stick &amp;#39;Brian&amp;#39; into the text box as well so it would look like this:&lt;/p&gt;&lt;p&gt;&lt;img style="width:644px;height:174px;" src="http://oi46.tinypic.com/j13qxh.jpg" width="644" height="174" alt="" /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Door Owners_IP:&lt;br /&gt;&lt;/strong&gt;N/A; Brian; Luke;&lt;/p&gt;&lt;p&gt;After realizing that I can only pull (I believe)&amp;nbsp;one value at a time into the MSLB from SharePoint, it seems pretty tough... thanks in advance for any help you can provide.&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;David &lt;/p&gt;</description></item><item><title>Re: Concatenating Data from a Repeating Field which references a Data Source</title><link>https://www.infopathdev.com:443/forums/thread/80538.aspx</link><pubDate>Thu, 12 Jul 2012 19:57:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80538</guid><dc:creator>EpicQQs</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80538.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80538</wfw:commentRss><description>&lt;p&gt;Jimmy, thanks for helping me think outside the box on this one (literally!).&amp;nbsp; I did what you said but came across a problem, if I unchecked the boxes it didn&amp;#39;t remove their values&amp;nbsp;from the string.&lt;/p&gt;&lt;p&gt;However, I found that by setting this field &lt;strong&gt;on submit&lt;/strong&gt; instead of trying to build the string as the user input data into the field, it was constructed&amp;nbsp;correctly.&lt;/p&gt;&lt;p&gt;Solution was to make the evalAccessRights field blank, with no default value, and use a rule on the submit button to apply the function to the field.&lt;/p&gt;&lt;p&gt;You have really helped me out, thanks!&lt;/p&gt;</description></item><item><title>Re: Concatenating Data from a Repeating Field which references a Data Source</title><link>https://www.infopathdev.com:443/forums/thread/80534.aspx</link><pubDate>Thu, 12 Jul 2012 19:33:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80534</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80534.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80534</wfw:commentRss><description>Have you tried placing a rule on accessRights to set evalAccessRights to the value of that formula?&amp;nbsp; My experience is that you need to use a default value formula and a rule when you&amp;#39;re working with double eval and a MSLB.</description></item><item><title>Concatenating Data from a Repeating Field which references a Data Source</title><link>https://www.infopathdev.com:443/forums/thread/80526.aspx</link><pubDate>Thu, 12 Jul 2012 18:22:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80526</guid><dc:creator>EpicQQs</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80526.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80526</wfw:commentRss><description>&lt;p&gt;Hello all,&lt;/p&gt;&lt;p&gt;I checked everywhere before making this post, and I have found a lot of options for double eval statements, but they are not meeting my needs.&lt;/p&gt;&lt;p&gt;My&amp;nbsp;setup is&amp;nbsp;like the below screenshot, I want to use &amp;#39;&lt;strong&gt;evalAccessRights&lt;/strong&gt;&amp;#39; to capture and concatenate the input from &amp;#39;&lt;strong&gt;accessRights&amp;#39;&lt;/strong&gt;, which is my Multiple Selection List Box.&lt;/p&gt;&lt;p&gt;&lt;img style="width:151px;height:56px;" src="http://oi49.tinypic.com/33wv4go.jpg" width="151" height="56" alt="" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;accessRights&lt;/strong&gt; is my Multiple Selection List Box, which is pulling filtered&amp;nbsp;values from a master&amp;nbsp;SharePoint List.&lt;/p&gt;&lt;p&gt;&lt;img style="width:872px;height:611px;" src="http://oi46.tinypic.com/27xm3jq.jpg" width="872" height="611" alt="" /&gt;&lt;/p&gt;&lt;p&gt;When the &lt;strong&gt;workLocation&lt;/strong&gt;&amp;nbsp;selected&amp;nbsp;matches the &lt;strong&gt;Location &lt;/strong&gt;in the SharePoint list, it will change the available checkboxes in the &lt;strong&gt;accessRights&lt;/strong&gt; Multiple Selection List Box.&amp;nbsp; This is where I need your help.&amp;nbsp; I am looking for a double eval function that will cycle through &lt;strong&gt;accessRights, &lt;/strong&gt;separating the concatenated data with a delimiter like &amp;#39;;&amp;#39; or &amp;#39;,&amp;#39;.&lt;/p&gt;&lt;p&gt;&lt;u&gt;Formula placed into the &amp;#39;evalAccessRights&amp;#39; field:&lt;/u&gt;&amp;nbsp; &lt;br /&gt;xdMath:Eval(xdMath:Eval(../my:&lt;strong&gt;accessRights&lt;/strong&gt;, &amp;#39;concat(., substring(&amp;quot;;&amp;quot;, 1, string-length(.)), &amp;quot; &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/p&gt;&lt;p&gt;The above function would normally work if I was using manually entered choices... but&amp;nbsp;the data connection or filtering seems to be messing with it.&lt;/p&gt;&lt;p&gt;Please let me know if you need anything else.&lt;/p&gt;&lt;p&gt;Thanks,&lt;br /&gt;&lt;br /&gt;David&lt;/p&gt;</description></item></channel></rss>