<?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: Displaying selected node after switch view</title><link>https://www.infopathdev.com:443/forums/thread/11539.aspx</link><pubDate>Mon, 14 Aug 2006 15:54:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11539</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11539.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=11539</wfw:commentRss><description>Ah, I think you are saying that you want to edit the a specific drill down on a repeater within another repeater.  In this case you have to get position twice (you will need two hidden helper nodes).  When the user clicks the button you need to store position for the immediate item and the position for the parent item.  This will be two rule actions.  Then in your detail view you need to drag in both nested repeating sections and filter both to narrow down only to the single item within the dual repeaters.</description></item><item><title>Re: Displaying selected node after switch view</title><link>https://www.infopathdev.com:443/forums/thread/11538.aspx</link><pubDate>Sat, 12 Aug 2006 06:26:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11538</guid><dc:creator>btc_khanaw@yahoo.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11538.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=11538</wfw:commentRss><description>The checkbox and master detail suggestions are good solutions. But to improve the user's experience I need to de-clutter the default view by moving out a chunk to a detail view.&lt;br /&gt;&lt;br /&gt;I used the position function method and set the filter on the detail View's repeating section properties to:&lt;br /&gt;"position()=../../../../../../my:tempHelperNode"&lt;br /&gt;&lt;br /&gt;However the position() function "returns the index number of the node within the parent", so it can still return multiple records. So for example if I am editing the first node in the default view and then switch to the detail view, all the first nodes of all the parents are returned.&lt;br /&gt;&lt;br /&gt;How can uniquely identify the node I am editing (in new record mode) or viewing(sometimes in query mode)?</description></item><item><title>Re: Displaying selected node after switch view</title><link>https://www.infopathdev.com:443/forums/thread/11537.aspx</link><pubDate>Sat, 12 Aug 2006 03:12:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11537</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11537.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=11537</wfw:commentRss><description>Another option for putting everything on the same view is to use the Master/Detail control which is designed for this.</description></item><item><title>Re: Displaying selected node after switch view</title><link>https://www.infopathdev.com:443/forums/thread/11536.aspx</link><pubDate>Fri, 11 Aug 2006 13:34:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11536</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11536.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=11536</wfw:commentRss><description>If you're in New Record mode, you're only dealing with one Record right? What I would suggest is putting everyting on one view and then having a checkbox that determines whether or not details are displayed.  To do this, put all of the "detail" nodes in a section and then conditional formatting on that section that hides or shows depending on the state of the checkbox node.</description></item><item><title>Re: Displaying selected node after switch view</title><link>https://www.infopathdev.com:443/forums/thread/11535.aspx</link><pubDate>Thu, 10 Aug 2006 21:06:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11535</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11535.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=11535</wfw:commentRss><description>Ah, there is a trick to do this without code.  What you do is when you click the button you have a first rule which sets the value of a "helper node" to the position() of the current repeating node you're inside.  Be sure the button is directly in the repeating section and not inside another repeating section.&lt;br /&gt;&lt;br /&gt;Then the next rule is a switch view to the detail view.&lt;br /&gt;&lt;br /&gt;Finally add a filter to the last view which only shows the item when the expression "position() = theHelperNode"&lt;br /&gt;&lt;br /&gt;Thanks, Shiraz</description></item><item><title>Re: Displaying selected node after switch view</title><link>https://www.infopathdev.com:443/forums/thread/11534.aspx</link><pubDate>Thu, 10 Aug 2006 06:20:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11534</guid><dc:creator>btc_khanaw@yahoo.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11534.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=11534</wfw:commentRss><description>Hi All,&lt;br /&gt;&lt;br /&gt;The links that Matt posted are useful when you want to view existing data.&lt;br /&gt;&lt;br /&gt;What if you are in a new record mode (with SQL database connection) and you want to switch views and just see the detail that you are currently editing.&lt;br /&gt;&lt;br /&gt;What I need is something like the asset tracking sample form from Microsoft. I tried my hand at re-using what exists in the sample form but failed. I found it a little complex.&lt;br /&gt;&lt;br /&gt;Is it possible and can I get some guidance on this from anyone.</description></item><item><title>Re: Displaying selected node after switch view</title><link>https://www.infopathdev.com:443/forums/thread/11533.aspx</link><pubDate>Mon, 01 May 2006 09:32:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11533</guid><dc:creator>spudy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11533.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=11533</wfw:commentRss><description>Perfect, thank you for the links.</description></item><item><title>Re: Displaying selected node after switch view</title><link>https://www.infopathdev.com:443/forums/thread/11532.aspx</link><pubDate>Sun, 30 Apr 2006 22:35:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11532</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11532.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=11532</wfw:commentRss><description>Check out these tutorials, I think they're doing what you want:&lt;br /&gt;&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/howto/tutorials/default.aspx?i=0bb37b4de44348408680a53a449f2353&gt;http://www.infopathdev.com/howto/tutorials/default.aspx?i=0bb37b4de44348408680a53a449f2353&lt;/a&gt;&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/howto/tutorials/default.aspx?i=3ed83f87f32a4b9699dfcd232cc4e602&gt;http://www.infopathdev.com/howto/tutorials/default.aspx?i=3ed83f87f32a4b9699dfcd232cc4e602&lt;/a&gt;</description></item><item><title>Re: Displaying selected node after switch view</title><link>https://www.infopathdev.com:443/forums/thread/11531.aspx</link><pubDate>Sun, 30 Apr 2006 10:27:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11531</guid><dc:creator>shailaja</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11531.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=11531</wfw:commentRss><description>Hello Spudy,&lt;br /&gt;    In order to switch view when we click a button you should apply rules. First create second view in which you would place all the fields of repeating group which you would like to display, then apply rules to button to switch view. To switch view please follow these steps:&lt;br /&gt;&lt;br /&gt;1. Double click on the button, click Rules, and then click Add.&lt;br /&gt;2. Name the rule "View 2", and then click Add Action.&lt;br /&gt;3. Select Switch Views from the Action drop-down list, select Tab 1 from the View drop-down list, and then click OK four times to close the Button Properties dialog box and apply the rule.&lt;br /&gt;&lt;br /&gt;Hope this helps!</description></item><item><title>Displaying selected node after switch view</title><link>https://www.infopathdev.com:443/forums/thread/11476.aspx</link><pubDate>Sun, 30 Apr 2006 00:59:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11476</guid><dc:creator>spudy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11476.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=11476</wfw:commentRss><description>Hello all....&lt;br /&gt;&lt;br /&gt;I have a view with repeating table that show two fields from a repeating group. Each row in the table has a view and edit button. When a button is clicked I want to switch view and display all fields of the repeating group.&lt;br /&gt;&lt;br /&gt;Any ideas?&lt;br /&gt;&lt;br /&gt;Spudy</description></item></channel></rss>