<?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: Insert a row in a repeating section on different view.</title><link>https://www.infopathdev.com:443/forums/thread/22391.aspx</link><pubDate>Fri, 17 Aug 2007 09:17:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22391</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22391.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=22391</wfw:commentRss><description>thx for the flowers. glad i could help.&lt;br /&gt;</description></item><item><title>Re: Insert a row in a repeating section on different view.</title><link>https://www.infopathdev.com:443/forums/thread/22383.aspx</link><pubDate>Fri, 17 Aug 2007 06:53:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22383</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22383.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=22383</wfw:commentRss><description>&lt;p&gt;Hi Jerome,&lt;/p&gt;
&lt;p&gt;That solution rocks! I need to start listening to Motorhead.&lt;/p&gt;
&lt;p&gt;:)&lt;/p&gt;</description></item><item><title>Re: Insert a row in a repeating section on different view.</title><link>https://www.infopathdev.com:443/forums/thread/22377.aspx</link><pubDate>Thu, 16 Aug 2007 22:31:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22377</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22377.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=22377</wfw:commentRss><description>&lt;p&gt;That&amp;#39;s a good solution... Thanks for sharing it!&lt;/p&gt;</description></item><item><title>Re: Insert a row in a repeating section on different view.</title><link>https://www.infopathdev.com:443/forums/thread/22233.aspx</link><pubDate>Thu, 09 Aug 2007 06:07:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22233</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22233.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=22233</wfw:commentRss><description>if you don&amp;#39;t wanna write code here the quick and dirty solution. have the repeating table in the same view in which your button is. set conditional formatting on it so that it is allways hidden. copy the repeating section into your second view where you want to show it and remove the conditional formatting from there. hope this helps.</description></item><item><title>Re: Insert a row in a repeating section on different view.</title><link>https://www.infopathdev.com:443/forums/thread/22226.aspx</link><pubDate>Wed, 08 Aug 2007 21:30:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22226</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22226.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=22226</wfw:commentRss><description>&lt;p&gt;When you switch views, the new view is not ready by the time the next lines of script run. In fact, I believe it won&amp;#39;t be ready until the script returns control to the form. Thus, this method will never work.&lt;/p&gt;&lt;p&gt;Repeating tables are stored in the DOM. The view is just a representation of the DOM. To do this, just write code to add XML to the DOM in the form of a new row in the repeating node.&lt;/p&gt;</description></item><item><title>Insert a row in a repeating section on different view.</title><link>https://www.infopathdev.com:443/forums/thread/22138.aspx</link><pubDate>Thu, 02 Aug 2007 07:50:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22138</guid><dc:creator>anujQA</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22138.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=22138</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I am trying to insert a row in a repeating section. I am having the button to implement this functionality on a&amp;nbsp;view&amp;nbsp;which is&amp;nbsp;different than the view on which the repeating section is present.&lt;/p&gt;&lt;p&gt;To to this, I first switch to that view and try inserting the row using&lt;/p&gt;&lt;p&gt;thisXdocument.View.SwitchView(&amp;quot;View Name&amp;quot;);&lt;/p&gt;&lt;p&gt;thisXdocument.View.ExecuteAction(&amp;quot;xCollection::Insert&amp;quot;, &amp;quot;xmlToEdit Name&amp;quot;);&lt;/p&gt;&lt;p&gt;But this does not work. It gives me an error that Operation Not Defined and&amp;nbsp;View.ExecuteAction unknown Name.&lt;/p&gt;&lt;p&gt;The same ExecuteAction works if my button is on the same view.&lt;/p&gt;&lt;p&gt;Please let me know the solution for this.&lt;/p&gt;&lt;p&gt;Also can anyone tell me why OnSwitchView event is not called for View.SwitchView(&amp;quot;View Name&amp;quot;).&lt;/p&gt;&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>