<?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: using field value to represent views</title><link>https://www.infopathdev.com:443/forums/thread/31667.aspx</link><pubDate>Mon, 25 Aug 2008 06:53:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31667</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31667.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=31667</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We can&amp;#39;t do the directly assigning the view name as field contains value in InfoPath. While creating the view we have to give the view name and if we want to change the view name then we have to modify it in design mode only.&lt;/p&gt;
&lt;p&gt;We can shift the view based on field value using code. &lt;/p&gt;
&lt;p&gt;XDocument.View.SwitchView(&amp;quot;View Name&amp;quot;);&lt;/p&gt;
&lt;p&gt;In above line you can assign the value of field1 or field2 depends on your requirement.&lt;/p&gt;</description></item><item><title>using field value to represent views</title><link>https://www.infopathdev.com:443/forums/thread/31506.aspx</link><pubDate>Mon, 18 Aug 2008 09:08:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31506</guid><dc:creator>gul_ydu</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31506.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=31506</wfw:commentRss><description>&lt;p&gt;Hi.İ want to use field value to represent views.For example field1=view1 field2=view2 .is it possible?&lt;/p&gt;</description></item></channel></rss>