<?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: Infopath secondary datasources nested</title><link>https://www.infopathdev.com:443/forums/thread/41610.aspx</link><pubDate>Wed, 13 May 2009 01:27:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41610</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41610.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=41610</wfw:commentRss><description>&lt;p&gt;Add a rule to your dropdown with an action that sets the query value. Add a second action that then queries the secondary data source. &lt;/p&gt;</description></item><item><title>Infopath secondary datasources nested</title><link>https://www.infopathdev.com:443/forums/thread/41571.aspx</link><pubDate>Tue, 12 May 2009 10:26:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41571</guid><dc:creator>ramakrishna</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41571.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=41571</wfw:commentRss><description>Hi, 
I have an infopath form that has two external datasource
I query the first one from a button to populate a dropdownlist
I then want to choose an item from this dropdown list and press a button which will pass the vaule from this combobox to the second datasource. 
how do I set the query field for the secondary datasource on change of the dropdown (this throws a state error when I try it), or is there a better way to do it?
Is there an event that fires on the refresh of a datasource?</description></item></channel></rss>