<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: populating a dropdown based on selection in other dropdown</title><link>https://www.infopathdev.com:443/forums/thread/52820.aspx</link><pubDate>Wed, 17 Mar 2010 08:41:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52820</guid><dc:creator>evvo1961</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52820.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=52820</wfw:commentRss><description>&lt;p&gt;ok i found out how to do it as long as i have the EXACT same value from dropdown 1 in the table feeding dropdown 2 (ie the value displayed in the dropdiwn)&lt;/p&gt;
&lt;p&gt;i could&amp;nbsp;not seem to utilise the foreign key (departmentID)&amp;nbsp;to get a match as its asking to match the value in dd1, i cant seem to get at the ID...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: populating a dropdown based on selection in other dropdown</title><link>https://www.infopathdev.com:443/forums/thread/52784.aspx</link><pubDate>Tue, 16 Mar 2010 18:17:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52784</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52784.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=52784</wfw:commentRss><description>&lt;p&gt;Yes, this is possible. It&amp;#39;s called cascading dropdowns, so you want to search for that term. There are lots of previous discussions about this; I found this thread: http://www.infopathdev.com/forums/t/13940.aspx. I&amp;#39;ve seen some good tutorials, just search for cascading dropdown in Google. Good luck!&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>populating a dropdown based on selection in other dropdown</title><link>https://www.infopathdev.com:443/forums/thread/52753.aspx</link><pubDate>Tue, 16 Mar 2010 10:07:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52753</guid><dc:creator>evvo1961</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52753.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=52753</wfw:commentRss><description>&lt;p&gt;hi&lt;/p&gt;
&lt;p&gt;i want to populate a dropdown box based on a selection made in another dropdown. however it doesnt seem striaght forward.&lt;/p&gt;
&lt;p&gt;dropdown 1 is a list of departments and comes from a sql server database connection. i display department name (but sql server db also has a department ID field)&lt;/p&gt;
&lt;p&gt;dropdown 2 - rather than showing all staff members, id prefer to show those that belong to the department chosen in dropdown 1. dd2 is also populated from a sql server connection, displaying staff member name.&lt;/p&gt;
&lt;p&gt;what i want is dd2 to have a sql condition to show staff members where department table (department id) = staff table (department id) but i cant seem to access this info via a rule or a filter...&lt;/p&gt;
&lt;p&gt;is this possible in infopath? or do i have to do something in sql server with a new connection?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>