<?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 when you switch to a view</title><link>https://www.infopathdev.com:443/forums/thread/66497.aspx</link><pubDate>Thu, 12 May 2011 17:48:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66497</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66497.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=66497</wfw:commentRss><description>Sure, the ViewSwitched event -- more &lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.formevents.viewswitched.aspx"&gt;here&lt;/a&gt;.</description></item><item><title>Re: Refresh when you switch to a view</title><link>https://www.infopathdev.com:443/forums/thread/66493.aspx</link><pubDate>Thu, 12 May 2011 15:33:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66493</guid><dc:creator>asammyr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66493.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=66493</wfw:commentRss><description>&lt;p&gt;I was able to null out a field and requery the database to essentiallly refresh the displayed data when a button is pushed to submit data.&amp;nbsp; However, what I was really trying to get at was this:&lt;/p&gt;
&lt;p&gt;There is a &amp;quot;form load&amp;quot; event under which we can place code to execute whenever the form loads.&amp;nbsp; Is there a &amp;quot;switch to XYZ view&amp;quot;&amp;nbsp;event under which we can place code to execute whenever you switch to view XYZ?&lt;/p&gt;</description></item><item><title>Re: Refresh when you switch to a view</title><link>https://www.infopathdev.com:443/forums/thread/66492.aspx</link><pubDate>Thu, 12 May 2011 15:23:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66492</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66492.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=66492</wfw:commentRss><description>Sorry to sound silly, but what are you trying to refresh? That is, what is the problem you are attempting to solve? Switching to a different view will just display whatever is in the fields that the controls in the view are bound to.... and I&amp;#39;m not sure what refreshing would provide that is any different....</description></item><item><title>Refresh when you switch to a view</title><link>https://www.infopathdev.com:443/forums/thread/66486.aspx</link><pubDate>Thu, 12 May 2011 14:25:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66486</guid><dc:creator>asammyr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66486.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=66486</wfw:commentRss><description>&lt;p&gt;Is there a way, programatically or otherwise, to refresh a form/view when you switch to that view?&amp;nbsp; I can&amp;#39;t seem to figure out a way to do this, so any help would be appriciated.&lt;/p&gt;</description></item></channel></rss>