<?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 to select a different view based fields value</title><link>https://www.infopathdev.com:443/forums/thread/6813.aspx</link><pubDate>Fri, 13 May 2005 18:26:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6813</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6813.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6813</wfw:commentRss><description>Hi again Elridge,&lt;br /&gt;Adding rules is discussed in my book and there are numerous examples of code too. In addition, you can find some samples on our site that discuss rules, etc. We will be unveiling new content in 2 weeks. Stay tuned ...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: How to select a different view based fields value</title><link>https://www.infopathdev.com:443/forums/thread/6812.aspx</link><pubDate>Thu, 12 May 2005 18:11:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6812</guid><dc:creator>elridge_dmello</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6812.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6812</wfw:commentRss><description>Hi Patrick,&lt;br /&gt;&lt;br /&gt;Thanks for your response to my query.&lt;br /&gt;&lt;br /&gt;I am pretty new to InfoPath, so I was wondering if you could point out how to add a rule that checks the value after I get the data and then switch views based on that?  I looked into what you recommended but I am still not able to do this.&lt;br /&gt;&lt;br /&gt;Also, in regard to writing code to do this, could you point me in the right direction to view some resources that might be useful.  I have not used JScript before although I have used Perl on other projects.&lt;br /&gt;&lt;br /&gt;Thanks very much,&lt;br /&gt;Elridge&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: How to select a different view based fields value</title><link>https://www.infopathdev.com:443/forums/thread/6811.aspx</link><pubDate>Tue, 10 May 2005 01:01:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6811</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6811.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6811</wfw:commentRss><description>Hi Elridge,&lt;br /&gt;Welcome to the board! You can add a rule to your submit adapter that checks the value after you get the data and switches the view based on that. Alternatively, you can write some code that does the same thing.&lt;br /&gt;Cheers,&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>How to select a different view based fields value</title><link>https://www.infopathdev.com:443/forums/thread/4658.aspx</link><pubDate>Mon, 09 May 2005 21:36:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4658</guid><dc:creator>elridge_dmello</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4658.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4658</wfw:commentRss><description>I have 3 views in a InfoPath file that is connected to a MS SQL Data source&lt;br /&gt;&lt;br /&gt;The three views are :&lt;br /&gt;1) Start View&lt;br /&gt;2) New Entry View&lt;br /&gt;3) Edit/Delete Entry view&lt;br /&gt;&lt;br /&gt;The Start View has only one field (call it BoxNumber).  When I hit submit on &lt;br /&gt;Start View, I query the database for that BoxNumber and if the database &lt;br /&gt;already has the entered BoxNumber, then I would like to be in the Edit/Delete &lt;br /&gt;Entry view.  If the entered BoxNumber is not in the database, then this is a &lt;br /&gt;new entry, and I would like to be able to go the the New Entry View.&lt;br /&gt;&lt;br /&gt;The part that I am having difficulty with is dynamically selecting between &lt;br /&gt;the 2nd and 3rd views based on the user input in the 1st view.&lt;br /&gt;&lt;br /&gt;Any help in regards to this is greatly appreciated.  Thanks much!&lt;br /&gt;&lt;br /&gt;-Elridge&lt;br /&gt;</description></item></channel></rss>