<?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>SQL Database Integration</title><link>https://www.infopathdev.com:443/forums/47.aspx</link><description>For questions concerning issues in the integration of SQL and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Refresh form contents based on data source change</title><link>https://www.infopathdev.com:443/forums/thread/17062.aspx</link><pubDate>Wed, 09 Nov 2005 06:44:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17062</guid><dc:creator>franck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17062.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17062</wfw:commentRss><description>sorry, I missed your answer there....  &lt;br /&gt;You can do a search for "Secondary DOM" in this forum to get some samples.&lt;br /&gt;&lt;br /&gt;Franck</description></item><item><title>Re: Refresh form contents based on data source change</title><link>https://www.infopathdev.com:443/forums/thread/17061.aspx</link><pubDate>Wed, 02 Nov 2005 02:10:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17061</guid><dc:creator>jrothstein</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17061.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17061</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Thanks for the quick reply.  What you describe is exactly how my form is setup.  Unfortunately, I am at best a novice programmer so really have no idea how I would code this.  Could you point me to any MSDN articles that would deal with a scenario like this, or any code snippets I may adopt for this purpose?&lt;br /&gt;&lt;br /&gt;Much Appreciated,&lt;br /&gt;&lt;br /&gt;Jason</description></item><item><title>Re: Refresh form contents based on data source change</title><link>https://www.infopathdev.com:443/forums/thread/17060.aspx</link><pubDate>Wed, 02 Nov 2005 01:22:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17060</guid><dc:creator>franck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17060.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17060</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;The address is stored in your primary DOM, right?  So, even if the secondary data source did change, the changes won't automatically flow to your main DOM.  You need to open your secondary DOM by code and compare data for a given Customer ID.  You can do this OnLoad and/or with a Refresh button.  It will involve some coding, but it is doable.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Franck Dauché</description></item><item><title>Refresh form contents based on data source change</title><link>https://www.infopathdev.com:443/forums/thread/16752.aspx</link><pubDate>Tue, 01 Nov 2005 22:33:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16752</guid><dc:creator>jrothstein</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16752.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=16752</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;I have a form that has a drop-down list box attached to an SQL server secondary data source that contains customer names and addresses.  When a user chooses the customer name from the drop-down list, the address, zip, etc fields auto-fills using the rules method.  However, if the customer's address changes in the data source and we re-open the form, the address and other info still displays the old data.  The only way to get it to update in the form is to change the drop down list to a different customer, and then change it back.  I tried adding a "Refresh" button that is set to refresh all data sources, but it doesn't seem to refresh the data.  Can anybody suggest a method for either getting this "refresh" button to work as I think it should, or to set the form to refresh the data each time it is opened?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;Jason</description></item></channel></rss>