<?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: using a run query button on a secondary view</title><link>https://www.infopathdev.com:443/forums/thread/66545.aspx</link><pubDate>Sat, 14 May 2011 03:41:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66545</guid><dc:creator>morphguy112</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66545.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=66545</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;What I did for my code is use a custom rules button with rules.&amp;nbsp; Action 1 would be to run query, Action 2 would then be to switch to that view you are in.&amp;nbsp;&amp;nbsp; Works for me right now, hopefully this will help you out as well!! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: using a run query button on a secondary view</title><link>https://www.infopathdev.com:443/forums/thread/62028.aspx</link><pubDate>Tue, 07 Dec 2010 17:18:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62028</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62028.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=62028</wfw:commentRss><description>&lt;p&gt;Worst case -- put all your views on your default view in separate sections. Then add a field to your data source (or use a secondary XML data source) simply to control which section is displayed. The buttons that switch between views simply set the field that the conditional formatting for the sections is based on. I use this a lot to get around the issue that we can&amp;#39;t switch views and email in the same ruleset without sending a blank email.&lt;/p&gt;</description></item><item><title>Re: using a run query button on a secondary view</title><link>https://www.infopathdev.com:443/forums/thread/62002.aspx</link><pubDate>Tue, 07 Dec 2010 12:57:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62002</guid><dc:creator>homeruk187</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62002.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=62002</wfw:commentRss><description>&lt;p style="MARGIN:0cm 0cm 10pt;" class="MsoNormal"&gt;&lt;font size="3" face="Calibri"&gt;There’s a woman were I work who was having similar problem and I found a possible solution from this site, basically it was something to do with how the data sources and views interact. I’m not sure if she got round to checking the link below but it did make sense when I read it.&lt;/font&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 10pt;" class="MsoNormal"&gt;&lt;a href="http://www.infopathdev.com/forums/p/1094/3886.aspx"&gt;&lt;font size="3" face="Calibri"&gt;http://www.infopathdev.com/forums/p/1094/3886.aspx&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>using a run query button on a secondary view</title><link>https://www.infopathdev.com:443/forums/thread/61991.aspx</link><pubDate>Tue, 07 Dec 2010 09:31:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61991</guid><dc:creator>king treelo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61991.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=61991</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I currently have a form set up which uses 2 buttons on the main view to switch between views &amp;#39;b&amp;#39; and &amp;#39;c&amp;#39;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;On these 2 views i have a &amp;#39;run query&amp;#39; button that takes a value from the same view, and brings info back from a DB.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The problem i am having is that when the &amp;#39;run query&amp;#39; button is pressed, it automatically takes me back to my default view. Is there any way of keeping the view once the button is pressed so i can display the information or is this not possible using views?&lt;/p&gt;</description></item></channel></rss>