<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: New Record Button switches to default view</title><link>https://www.infopathdev.com:443/forums/thread/30879.aspx</link><pubDate>Sat, 26 Jul 2008 11:10:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30879</guid><dc:creator>SusieW</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30879.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=30879</wfw:commentRss><description>&lt;p&gt;Hi Clay,&lt;/p&gt;
&lt;p&gt;Not too sure what you mean, sorry to be vague. &amp;nbsp;If I place a value in a field that I know will not be found then click the query button the form switches to the default view. That button I have removed now, (I found that if I used code to query, the view stays put), so I&amp;#39;m trying to get the New Record button to behave. When this is clicked it changes the view to the default (which is a menu selection) then when you select the form you were in it has a record with no values. What I&amp;#39;m trying to achieve is for the new record click not to switch views. Is there a JScript command for New Record, or should I try and clear values from the form when submitting has completed via a submit button.&lt;/p&gt;
&lt;p&gt;I think what I&amp;#39;m trying to achieve is when the user submits the data&amp;nbsp;for the view to stay put with blank values in the field so they can input another record, is this possible with multiple views?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: New Record Button switches to default view</title><link>https://www.infopathdev.com:443/forums/thread/30843.aspx</link><pubDate>Fri, 25 Jul 2008 13:54:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30843</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30843.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=30843</wfw:commentRss><description>&lt;p&gt;The built-in new Record essentially resets the form and is like opening a new one.&lt;/p&gt;
&lt;p&gt;I beleive you would want to have a button that just uses rules and then do the functionality your self or add it on to your submit automatically.&lt;/p&gt;
&lt;p&gt;What I do is set a incorrect value in a query field. Like 99999 for record ID, something I know will not be found in the data and therefore return any values.&lt;/p&gt;
&lt;p&gt;Then query the main data connection.&lt;/p&gt;
&lt;p&gt;Then you have your data fields with blanks again and ready for the user to input a new query value and start over.&lt;/p&gt;</description></item><item><title>New Record Button switches to default view</title><link>https://www.infopathdev.com:443/forums/thread/30835.aspx</link><pubDate>Fri, 25 Jul 2008 11:52:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30835</guid><dc:creator>SusieW</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30835.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=30835</wfw:commentRss><description>&lt;pre class="WNPost" style="WORD-WRAP:break-word;"&gt;Hi everyone, I&amp;#39;m new to the post but have found some very useful information in the last few months that have helped me out tremendously, much appreciated.&amp;nbsp;&lt;/pre&gt;&lt;pre class="WNPost" style="WORD-WRAP:break-word;"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="WNPost" style="WORD-WRAP:break-word;"&gt;I have a New Record button, a New Query button and 5 views, the default being 
a menu selection using the switch view option on the button. When I run a 
query or new record the screen switches to the default view (menu) where I 
select the form(view) again and the results are there. How to stop the (menu) 
default form from opening before I can see the results.&lt;/pre&gt;&lt;pre class="WNPost" style="WORD-WRAP:break-word;"&gt;&amp;nbsp;&lt;/pre&gt;</description></item></channel></rss>