<?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: Multiple-Selection List Box questions</title><link>https://www.infopathdev.com:443/forums/thread/75167.aspx</link><pubDate>Fri, 10 Feb 2012 19:31:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75167</guid><dc:creator>milhouse11</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75167.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75167</wfw:commentRss><description>&lt;p&gt;Thanks Anson.&amp;nbsp; I actually tried the concatenated column in SP at the very beginning, but unfortunately InfoPath (using 2007) will not pull in calculated list columns, at least from my experience.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;If there is no other way, I may&amp;nbsp;just go the code route to accomplish what I need.&lt;/p&gt;</description></item><item><title>Re: Multiple-Selection List Box questions</title><link>https://www.infopathdev.com:443/forums/thread/75164.aspx</link><pubDate>Fri, 10 Feb 2012 18:20:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75164</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75164.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75164</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;/p&gt;&lt;p&gt;1) You should create a new calculated column in your SP list that concatenates Code and Statement together.&amp;nbsp; Then pull down this column into InfoPath and use it as your Display Name.&lt;/p&gt;&lt;p&gt;2) This will likely be tough to accomplish since InfoPath doesn&amp;#39;t support adding new nodes through rules out of the box.&amp;nbsp; You&amp;#39;ll probably need custom code for this.&amp;nbsp; Another great alternative is &lt;a href="http://www.qdabra.com/en/products/qRules_overview.aspx"&gt;qRules&lt;/a&gt; will allows you add nodes without have to write code, so that might be something to look into.&lt;/p&gt;</description></item><item><title>Multiple-Selection List Box questions</title><link>https://www.infopathdev.com:443/forums/thread/75157.aspx</link><pubDate>Fri, 10 Feb 2012 16:10:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75157</guid><dc:creator>milhouse11</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75157.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75157</wfw:commentRss><description>&lt;p&gt;Hey guys,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I haven&amp;#39;t been able to find any good answers for my questions, so hopefully someone can help.&lt;/p&gt;
&lt;p&gt;Question 1:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have a form&amp;nbsp;with a data connection that pulls 2 columns from a SP list: &lt;em&gt;Code&lt;/em&gt; and &lt;em&gt;Statement&lt;/em&gt;.&amp;nbsp; I have a Multiple Selection List Box that uses this data source.&amp;nbsp; What I would like to do is concatenate Code and Statement for the Display Name, but only use Code for the value that gets stored.&amp;nbsp; What I assume I have to do is replicate this secondary data source repeating table in my Main data source, create a field in that new repeating table that concatenates these 2 values, and use that as&amp;nbsp;the data source in my list box control.&amp;nbsp; However, I can&amp;#39;t figure out how to loop through the entire secondary data source in order to fully populate the new&amp;nbsp;repeating table&amp;nbsp;in Main.&amp;nbsp; I&amp;#39;m trying to avoid using code because I&amp;#39;m not sure if the person who will take over this form after me will be comfortable with maintaining it.&amp;nbsp; I&amp;#39;ve seen some posts regarding a double EVAL function, but I haven&amp;#39;t been able to get it to work.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Code&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Statement&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;P101&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blah Blah Blah&lt;/p&gt;
&lt;p&gt;P102&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; More Blah&lt;/p&gt;
&lt;p&gt;Multiple Select List Box displays:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;P101 - Blah Blah Blah&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;P102&amp;nbsp;- More Blah&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Question 2:&lt;/p&gt;
&lt;p&gt;I would like to automatically select values in the above multiple-selection list box based on the&amp;nbsp;value of a drop-down.&amp;nbsp; I created a rule that fires when the drop-down is selected, but it only checks the first value that satisfies the condition.&amp;nbsp; So, I need to figure out how to iterate through the entire data source table to check all values that satisfy the condition.&amp;nbsp; There&amp;#39;s actually a 3rd column in the data source I mentioned earlier called Physical_State.&amp;nbsp; When the user selects Physical State in the dropdown, I want all Codes in my multiple-select list box associated with that Physical State to be selected.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any help would be much appreciated.&lt;/p&gt;</description></item></channel></rss>