<?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>Views</title><link>https://www.infopathdev.com:443/forums/42.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Change the order of the Views</title><link>https://www.infopathdev.com:443/forums/thread/36767.aspx</link><pubDate>Thu, 08 Jan 2009 14:48:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36767</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36767.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=36767</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Write the following code line in the combo box in on after change event.&lt;/p&gt;
&lt;p&gt;If(thisXDocument.View != null)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;String viewName = thisXDocument.selectSingleNode(&amp;quot;xpath of combobox&amp;quot;).text;&lt;/p&gt;
&lt;p&gt;thisXDocument.View.SwitchView(viewName);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;</description></item><item><title>Change the order of the Views</title><link>https://www.infopathdev.com:443/forums/thread/36766.aspx</link><pubDate>Thu, 08 Jan 2009 13:59:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36766</guid><dc:creator>PhilipLuke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36766.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=36766</wfw:commentRss><description>&lt;p&gt;Hi, I have an issue where I have created a single Infopath Form and 40 Views. When you create these views they seem to create their own display order (i.e. you cant INSERT a view between views, or move a VIEW up or down). Now, this is the problem, as I need to allow users to choose one of the views to enter data, but the view list is not being ordered as Accending/Decending Date/Time created etc, so it looks like a complete mess. I cannot see a way of ordering these views. I have tried creating a drop down combo box and then I was going to write a rule to say when the selected value in the drop down changes then change the view, but Change View is not available as a action at this level and is only at the Opening Form level. Has anyone else had this same problem and where you able to resolve it please?&lt;/p&gt;
&lt;p&gt;Thanks for any help.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Phil&lt;/p&gt;</description></item></channel></rss>