<?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: Drop Down List</title><link>https://www.infopathdev.com:443/forums/thread/7238.aspx</link><pubDate>Wed, 20 Jul 2005 20:46:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7238</guid><dc:creator>mdsmitty</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7238.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7238</wfw:commentRss><description>PS...one more question&lt;br /&gt;Do the Tables (med, lab, rad) need to be part of the main connection or are they a secondary connection?</description></item><item><title>Re: Drop Down List</title><link>https://www.infopathdev.com:443/forums/thread/7237.aspx</link><pubDate>Wed, 20 Jul 2005 20:43:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7237</guid><dc:creator>mdsmitty</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7237.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7237</wfw:commentRss><description>Thanks Agni, 2 questions:&lt;br /&gt;&lt;br /&gt;1. Do I map everything from DDL1 using Rules?&lt;br /&gt;2. How should I set the properties on DDL2?&lt;br /&gt;&lt;br /&gt;I'll play with this for awhile and see what I come up with.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Smitty</description></item><item><title>Re: Drop Down List</title><link>https://www.infopathdev.com:443/forums/thread/7236.aspx</link><pubDate>Wed, 20 Jul 2005 20:24:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7236</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7236.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7236</wfw:commentRss><description>Hi Smitty, When you select you DDL1 Med, get the data from the "Med" table and fill another datasource which is actually mapped to DDL2.&lt;br /&gt;When you select DDL1 Lab, get the data from "Lab" table, remove the existing rows in the datasource that is mapped to DDL2 and enter the values that you got from "Lab" table. &lt;br /&gt;&lt;br /&gt;Otherwise write a stored procedure that takes table as input and gets  the data from the that table and returns the same structure of data everytime. Take a connection to the database and call this stored procedure. When ever you change the value in DDL1 requery the connection with the new selection as Input to the stored procedure.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPath Dev India</description></item><item><title>Re: Drop Down List</title><link>https://www.infopathdev.com:443/forums/thread/7235.aspx</link><pubDate>Wed, 20 Jul 2005 20:13:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7235</guid><dc:creator>mdsmitty</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7235.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7235</wfw:commentRss><description>Hi Agni, thanks for the response but I am not sure that I understand.&lt;br /&gt;&lt;br /&gt;If I have 5 selections manually entered into DDL1 - Med, Lab, Rad...etc and let's say I select Lab, how do I get the Lab Table to display the listing of all the Labs in DDL2?  Can I do this by making Rules?  I'm not exactly sure where to start is basically what I am saying.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Smitty</description></item><item><title>Re: Drop Down List</title><link>https://www.infopathdev.com:443/forums/thread/7234.aspx</link><pubDate>Wed, 20 Jul 2005 18:49:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7234</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7234.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7234</wfw:commentRss><description>Yes it is possible, but for that your query should return same column names in both the cases and you need to take care the table name that is returned to InfoPath is same in both cases.&lt;br /&gt;&lt;br /&gt;Other wise you can do one thing, fill another datasource with the data from two table and display the related data depending on the DDL1 value.&lt;br /&gt;&lt;br /&gt;Hope this gives you an idea!&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPath Dev India</description></item><item><title>Re: Drop Down List</title><link>https://www.infopathdev.com:443/forums/thread/7233.aspx</link><pubDate>Wed, 20 Jul 2005 17:13:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7233</guid><dc:creator>mdsmitty</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7233.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7233</wfw:commentRss><description>PS - the first drop down is populated manually.</description></item><item><title>Drop Down List</title><link>https://www.infopathdev.com:443/forums/thread/4793.aspx</link><pubDate>Wed, 20 Jul 2005 15:49:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4793</guid><dc:creator>mdsmitty</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4793.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4793</wfw:commentRss><description>I have a Repeating Section with 2 Drop Down Lists.  I want to make a selection from DDL1 and have it populate DDL2 from different datasources.&lt;br /&gt;&lt;br /&gt;Ex.&lt;br /&gt;If DDL1 = "Table A" then DDL2 is populated with a list of selections from an SQL table called "Table A.  If DDL1 = "Table B" then DDL2 is populated with a list of selections from a different SQL table called "Table B".&lt;br /&gt;&lt;br /&gt;Is this possible and can anyone point me in the right direction.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Smitty</description></item></channel></rss>