<?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: Query data for multiple vaules</title><link>https://www.infopathdev.com:443/forums/thread/85678.aspx</link><pubDate>Sun, 30 Dec 2012 06:50:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85678</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85678.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=85678</wfw:commentRss><description>&lt;p&gt;You won&amp;#39;t need two title fields. I attached a sample form with the formula you need: substring(eval(eval(title[id = Region], &amp;#39;concat(&amp;quot;; &amp;quot;, .)&amp;#39;), &amp;quot;..&amp;quot;), 2)&lt;/p&gt;</description></item><item><title>Query data for multiple vaules</title><link>https://www.infopathdev.com:443/forums/thread/84147.aspx</link><pubDate>Mon, 05 Nov 2012 13:10:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84147</guid><dc:creator>hanne</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84147.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=84147</wfw:commentRss><description>&lt;p&gt;Hi all, realy hoping you can help me with this one :)&lt;/p&gt;&lt;p&gt;I have a Form with a field from where you can choose different regions. The field is a &amp;quot;Multiple Selection list box&amp;quot; and is based on data from a SharePoint list. The list has several columns: TitleA, TitleB, ID. In the field I have set&amp;nbsp;Display name&amp;nbsp;to &amp;quot;TitleA&amp;quot; and value to ID. This is because I need the ID as a parameter to be sent to a PerformancePoint web part in SharePoint. &lt;/p&gt;&lt;p&gt;The issue for me is that I want some sort of calculated field that tell the user, what fields they have chosen. Since the ID&amp;#39;s won&amp;#39;t make much sense I need to query the &amp;quot;TitleB&amp;quot; and show the users. So my setup is as follows:&lt;/p&gt;&lt;p&gt;FORM FIELDS:&lt;/p&gt;&lt;p&gt;&lt;u&gt;Choose Region: &lt;/u&gt;&lt;/p&gt;&lt;p&gt;Multiple&amp;nbsp;Selection list box&amp;nbsp;-&amp;gt; Display&amp;nbsp;&amp;quot;TITLEA&amp;quot;. Actual value &amp;quot;ID&amp;quot;&lt;/p&gt;&lt;p&gt;&lt;u&gt;Hidden field to be sent to PerformancePoint&lt;/u&gt;&lt;/p&gt;&lt;p&gt;Text Box -&amp;gt; Displays chosen values from Region as comma separated string:&amp;nbsp;&amp;quot;ID_1, ID_2, ID_3&amp;quot; &lt;/p&gt;&lt;p&gt;based on formula: substring(eval(eval(Region[. != &amp;quot;&amp;quot;]; &amp;#39;concat(&amp;quot;, &amp;quot;, .)&amp;#39;); &amp;quot;..&amp;quot;); 2)&lt;/p&gt;&lt;p&gt;&lt;u&gt;You have chosen&lt;/u&gt;&lt;/p&gt;&lt;p&gt;Needs to display the same as the hidden field, only it should contain titleB as in &amp;quot;TitleB_1, TitleB_2, TitleB_3&amp;quot;&lt;/p&gt;&lt;p&gt;Is this possible, with or without coding? No matter what I try I either end up with the ID&amp;#39;s or only the first value when converting to TitleB&lt;/p&gt;&lt;p&gt;This is for a browser enabled form in 2010, so performance is important.&lt;/p&gt;&lt;p&gt;/Hanne&lt;/p&gt;</description></item></channel></rss>