<?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: How do you insert a view's name in the form</title><link>https://www.infopathdev.com:443/forums/thread/11240.aspx</link><pubDate>Wed, 07 Mar 2007 21:01:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11240</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11240.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11240</wfw:commentRss><description>Once you have your field setup that you will use to store the current view status (ViewStatus).  This field will have a from the view name of the save view for a previously completed form.  In From Options, open rules you would create a rule with a condition (ViewStatus = "Save") that will switch views to save.&lt;br /&gt;&lt;br /&gt;For an example.&lt;br /&gt;&lt;br /&gt;For code you would create a variable that you would update at every view change or at least as part of the save routine.  Then in Form Open check this field and change views accordingly. &lt;br /&gt;&lt;br /&gt;I personally think that using a field and rules is simpler and easier to manage.  You can always use the field value in your code.&lt;br /&gt;&lt;br /&gt;Clay</description></item><item><title>Re: How do you insert a view's name in the form</title><link>https://www.infopathdev.com:443/forums/thread/11239.aspx</link><pubDate>Tue, 06 Mar 2007 18:39:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11239</guid><dc:creator>lou131</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11239.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11239</wfw:commentRss><description>Thanks for the info....this all plays into a prior posting concerning the following:  if you have any detail info (coding, rules) on how to make this happen, it would be appreciated.&lt;br /&gt;&lt;br /&gt;I have a form with 6 views. How do I get the form to open in the view it was saved in. It only opens in the default view I published the form in. I'm using Sharepoint to publish my form.&lt;br /&gt;&lt;br /&gt;I see that you can change the open/save behavior in form options but I don't know the code or the rules to make it happen.&lt;br /&gt;</description></item><item><title>Re: How do you insert a view's name in the form</title><link>https://www.infopathdev.com:443/forums/thread/11238.aspx</link><pubDate>Tue, 06 Mar 2007 18:15:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11238</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11238.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11238</wfw:commentRss><description>This may be more complex than it apears but...&lt;br /&gt;&lt;br /&gt;If you just need the name of the current view, to display in the form for that view, I just usually type it in somewhere as a header.  You could also set a field or expression box with the name.&lt;br /&gt;If you wanted a field that always contained the current view, you would need to set this with the name of the view when you switch to that view.  So each time you changed views you would need to update the field value via rules.&lt;br /&gt;There is no built in function I know of, it would need to be managed manually. &lt;br /&gt;&lt;br /&gt;Clay</description></item><item><title>How do you insert a view's name in the form</title><link>https://www.infopathdev.com:443/forums/thread/6106.aspx</link><pubDate>Tue, 06 Mar 2007 17:18:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6106</guid><dc:creator>lou131</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6106.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6106</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Question:&lt;br /&gt;&lt;br /&gt;How do you insert the current view's name into a field on the form?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Lou</description></item></channel></rss>