<?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>Linking Data Connections</title><link>https://www.infopathdev.com:443/forums/thread/38594.aspx</link><pubDate>Wed, 18 Feb 2009 21:22:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38594</guid><dc:creator>cf40hz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38594.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=38594</wfw:commentRss><description>Hello all, I am new to the forum.

I am having troubles linking or connecting two data connections.  I am connecting to a SQL server through UDC in which the information could be accessed through the net.  I have 2 separate connections with specific queries.  


First connection is company which has columns for COMPANYID, Name.


Second connection is contact which has columns for COMPANYID, Fullname . . .


Both tables are linked in SQL by COMPANYID.


I was able to create a drop down list displaying the Name for any given company.  When I select a company name, I would like Infopath to display the contacts associated with that company and re-query when a different company is selected.  

I  have tried filtering, but could only get it to work when I display the COMPANYID in the drop down list which is meaningless information.  Any help would be greatly appreciated. My brain cells  thank you all.</description></item></channel></rss>