<?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: Bind a control to two fields</title><link>https://www.infopathdev.com:443/forums/thread/40616.aspx</link><pubDate>Wed, 15 Apr 2009 00:48:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40616</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40616.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=40616</wfw:commentRss><description>&lt;p&gt;I&amp;#39;d create a view in the SQL db that combines the two tables and use that as my data source for the drop down list. As you&amp;#39;ve noticed, you can only select one data source for a drop down&amp;#39;s value / display pairs in IP, so a view or code will be the only way to do this....&lt;/p&gt;</description></item><item><title>Bind a control to two fields</title><link>https://www.infopathdev.com:443/forums/thread/40528.aspx</link><pubDate>Sat, 11 Apr 2009 21:45:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40528</guid><dc:creator>lukeksmith</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40528.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=40528</wfw:commentRss><description>&lt;p&gt;Im using an SQL db.&amp;nbsp; I made a data connection with two tables.&amp;nbsp; I have a table with&amp;nbsp;some fields: A_ContractID, A_ContractDate and A_CustomerID_Key.&amp;nbsp; Then I added another table with B_ContractID_Key. I also made a second data connection so I can populate dropdown list entries when the form loads.&lt;/p&gt;
&lt;p&gt;I want to&amp;nbsp;design&amp;nbsp;a form using the second table&amp;#39;s datafields.&amp;nbsp; I want to create a dropdown listbox for B_ContractID_Key which is populated from a external datasource.&amp;nbsp; I want the value to be B_ContractID_Key and the Display Name to be &amp;quot;A_CustomerID_Key - A_ContractDate&amp;quot;.&amp;nbsp; So I can select a ContractID based on two other fields.&amp;nbsp; How can I do this?&lt;/p&gt;</description></item></channel></rss>