<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Display 2 columns in Dropdown</title><link>https://www.infopathdev.com:443/forums/thread/2050.aspx</link><pubDate>Wed, 12 Jul 2006 04:46:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2050</guid><dc:creator>clareabradley</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2050.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2050</wfw:commentRss><description>Hi, I am also trying to do this. &lt;br /&gt;I want to show two columns - unique number and name within the same drop down list.&lt;br /&gt;On my list in SharePoint I have created a column which has "number, name" but when I go to create a datasource in infopath to this list, the column which is a calculated column ("number, name") is not listed as one I can select.&lt;br /&gt;Can anyone help?&lt;br /&gt;Thanks&lt;br /&gt;Clare</description></item><item><title>Re: Display 2 columns in Dropdown</title><link>https://www.infopathdev.com:443/forums/thread/2049.aspx</link><pubDate>Tue, 04 Apr 2006 11:43:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2049</guid><dc:creator>Shanthi Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2049.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2049</wfw:commentRss><description>Hello Dean,&lt;br /&gt;  You would have to create a totally new secondary data source with three fields. Then write a bunch of code to copy over the data from the sharepoint list data connection to the new secondary data source. When you are copying it over set the third node value to be the concat value. But this would be lot more complicated than the second option.</description></item><item><title>Re: Display 2 columns in Dropdown</title><link>https://www.infopathdev.com:443/forums/thread/2048.aspx</link><pubDate>Fri, 24 Mar 2006 13:49:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2048</guid><dc:creator>dlgross</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2048.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2048</wfw:commentRss><description>I'm a little bit confused about the 1st way you suggest (I know how to do the 2nd, and would like to learn how to the first, so I hope someone can clear this up for me). I already have a Main data source and a Secondary data source. The DropDown List control looks up the values from the SharePoint list with a value =@Cost_code and Display =@Cost_code. The Secondary data source shows 2 fields and the Add menu is greyed out. Where and how do I add the concatenation formula?&lt;br /&gt;&lt;br /&gt;TIA&lt;br /&gt;Dean</description></item><item><title>Re: Display 2 columns in Dropdown</title><link>https://www.infopathdev.com:443/forums/thread/2047.aspx</link><pubDate>Thu, 23 Mar 2006 22:43:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2047</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2047.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2047</wfw:commentRss><description>I can think of two ways to do this, and they are practically the same.&lt;br /&gt;&lt;br /&gt;1. Create a three column secondary data source that is populate from the SharePoint list.  The first and second columns will be code and description. The third column will have a formula for the default value, which will be:&lt;br /&gt;&lt;br /&gt;concat( code, ": " , description);&lt;br /&gt;&lt;br /&gt;2. Do the same thing, in SharePoint, then you don't have to add a secondary data source to your form.</description></item><item><title>Re: Display 2 columns in Dropdown</title><link>https://www.infopathdev.com:443/forums/thread/2046.aspx</link><pubDate>Thu, 23 Mar 2006 21:46:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2046</guid><dc:creator>dlgross</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2046.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2046</wfw:commentRss><description>My list in WSS contains 2 columns, Code and Description (a company cost code that is 4 digits and a text description). Some people like to see the numbers, some people like to see the words. I would like to have the drop down concatenate them together for display purposes only. I don't need 2 dropdowns since the code and its description are only one choice.&lt;br /&gt;Another idea would be to have the Code values displayed in the dropdown and have an adjacent text box display the Description for the selected value, how could I do this? I'm coming from MS Access where this type of stuff is easy, but this is my first form in IP and I'm muddling along.&lt;br /&gt;TIA&lt;br /&gt;Dean</description></item><item><title>Re: Display 2 columns in Dropdown</title><link>https://www.infopathdev.com:443/forums/thread/2045.aspx</link><pubDate>Thu, 23 Mar 2006 20:11:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2045</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2045.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2045</wfw:commentRss><description>Hi Dlgross,&lt;br /&gt;Need more details... what does Code and Description mean? Why not just use two dropdowns and bind the second the the Description data that is loaded into the secondary data source?</description></item><item><title>Display 2 columns in Dropdown</title><link>https://www.infopathdev.com:443/forums/thread/1206.aspx</link><pubDate>Thu, 23 Mar 2006 14:07:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1206</guid><dc:creator>dlgross</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1206.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1206</wfw:commentRss><description>I have a dropdown getting filled from a Sharepoint list. How I can I display 2 columns, the Code and it Description? I only need to save the Code value.</description></item></channel></rss>