<?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: Switching Data Connections</title><link>https://www.infopathdev.com:443/forums/thread/9515.aspx</link><pubDate>Tue, 11 Apr 2006 12:55:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9515</guid><dc:creator>fredarwin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9515.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9515</wfw:commentRss><description>thanks Maritha,&lt;br /&gt;&lt;br /&gt;the first option solve the problem, perhaps this option is not the best one. I wish to use same listbox to change the data connection depending on the chosen option. Its Possible?.&lt;br /&gt;&lt;br /&gt;Option 2 does not use data connections, data is enter manually.&lt;br /&gt;&lt;br /&gt;But thanks for the ideas.&lt;br /&gt;&lt;br /&gt;Somebody has suggestions ?</description></item><item><title>Re: Switching Data Connections</title><link>https://www.infopathdev.com:443/forums/thread/9514.aspx</link><pubDate>Tue, 11 Apr 2006 07:37:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9514</guid><dc:creator>Mahitha</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9514.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9514</wfw:commentRss><description>Hi,&lt;br /&gt;For this we have two options. The first option is:&lt;br /&gt;&lt;br /&gt;1.	Create two option buttons&lt;br /&gt;2.	Change the “value when selected” is equal to 1 for first option button and 2 for second options button&lt;br /&gt;3.	Create one list box and connect it to one secondary data source and apply the conditional formatting on it as “when field1(the first option button) is not equal to 1 hide this control”&lt;br /&gt;4.	Create one more list box and connect it to the other secondary data source and apply the conditional formatting on it as “when field1(the second option button) is not equal to 2 hide this control”&lt;br /&gt;&lt;br /&gt;The second option is through code which is available at the following location &lt;br /&gt;&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/howto/tutorials/default.aspx?i=987250af134b4ced85cbddc7db724202&gt;http://www.infopathdev.com/howto/tutorials/default.aspx?i=987250af134b4ced85cbddc7db724202&lt;/a&gt;</description></item><item><title>Switching Data Connections</title><link>https://www.infopathdev.com:443/forums/thread/5519.aspx</link><pubDate>Mon, 10 Apr 2006 20:08:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5519</guid><dc:creator>fredarwin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5519.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5519</wfw:commentRss><description>Scenario.&lt;br /&gt;I have two secondary data sources (Sql Server queries), how can i set programmatically to a listbox one of them, when i choose a option button.??&lt;br /&gt;&lt;br /&gt;Thanks</description></item></channel></rss>