<?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: HALP!</title><link>https://www.infopathdev.com:443/forums/thread/25800.aspx</link><pubDate>Tue, 22 Jan 2008 00:22:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25800</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25800.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25800</wfw:commentRss><description>&lt;p&gt;Sure. Glad to help.&lt;/p&gt;</description></item><item><title>Re: HALP!</title><link>https://www.infopathdev.com:443/forums/thread/25795.aspx</link><pubDate>Tue, 22 Jan 2008 00:06:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25795</guid><dc:creator>keeter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25795.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25795</wfw:commentRss><description>&lt;p&gt;Yay!&amp;nbsp; Woo!&amp;nbsp; Thanks.&lt;/p&gt;</description></item><item><title>Re: HALP!</title><link>https://www.infopathdev.com:443/forums/thread/25793.aspx</link><pubDate>Tue, 22 Jan 2008 00:04:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25793</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25793.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25793</wfw:commentRss><description>&lt;p&gt;You can switch views in the Loading event, however it works differently. Rather that calling the method to switch views, you set the property for the view to identify it as the default view.&lt;/p&gt;</description></item><item><title>HALP!</title><link>https://www.infopathdev.com:443/forums/thread/25791.aspx</link><pubDate>Mon, 21 Jan 2008 23:53:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25791</guid><dc:creator>keeter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25791.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25791</wfw:commentRss><description>&lt;p&gt;On the Loading event of a form, we are getting data from a SQL database and popping it in the form...&lt;/p&gt;
&lt;p&gt;If data that the form is expecting, doesn&amp;#39;t exist, the form throws an error (which we are gracefully catching.)&lt;/p&gt;
&lt;p&gt;What I would like to accomplish is to catch this error, and switch views to a &amp;quot;You are not authorized&amp;quot; sort of view.&lt;/p&gt;
&lt;p&gt;However, I cannot switch views in the Loading event.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My questions is, what event CAN I switch views in, that will occur once&lt;/p&gt;
&lt;p&gt;the form loaded event completes?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Paul &lt;/p&gt;</description></item></channel></rss>