<?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: Repeating table - dependent items?  Formatting question.</title><link>https://www.infopathdev.com:443/forums/thread/73927.aspx</link><pubDate>Thu, 12 Jan 2012 21:25:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73927</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73927.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73927</wfw:commentRss><description>&lt;p&gt;OK, I have the formatting accomplished.&amp;nbsp; I set a &amp;quot;kit&amp;quot; check box in my table.&amp;nbsp; Sub items are checked by default (value of 1).&amp;nbsp;Sub items also have the same &amp;quot;GearID&amp;quot; as the main item (all other, individual, non-kit items have unique GearIDs).&amp;nbsp; &lt;/p&gt;
&lt;p&gt;When a main item is ordered (&amp;quot;need&amp;quot; = or &amp;gt; 1), I run this command -&lt;/p&gt;
&lt;p&gt;concat(&amp;quot;SetValue /xpath=/my:myFields/my:Pullsheet/my:PullSheet/my:Kit[../my:GearID=&amp;#39;&amp;quot;, GearID, &amp;quot;&amp;#39;] /value=0&amp;quot;)&lt;/p&gt;
&lt;p&gt;The table hides all items that has a kit value of 1.&lt;/p&gt;</description></item><item><title>Re: Repeating table - dependent items?  Formatting question.</title><link>https://www.infopathdev.com:443/forums/thread/73889.aspx</link><pubDate>Thu, 12 Jan 2012 17:15:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73889</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73889.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73889</wfw:commentRss><description>&lt;p&gt;Thinking out loud now -&lt;/p&gt;
&lt;p&gt;What if I include a &amp;quot;Kit&amp;quot; Checkbox in my table.&amp;nbsp; The main item will be checked by default (set on sharepoint).&amp;nbsp; If someone orders 1 or more of the main item, it will check the kit box (or set it to 1) for the following items with the same gear id?&amp;nbsp; Then just format on that.&amp;nbsp; Or visa versa since everything else needs to be displayed.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Repeating table - dependent items?  Formatting question.</title><link>https://www.infopathdev.com:443/forums/thread/73885.aspx</link><pubDate>Thu, 12 Jan 2012 16:56:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73885</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73885.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73885</wfw:commentRss><description>&lt;p&gt;OK, so if GearID = preceding-sibling::PullSheet/GearID hides all the sub items by default.&amp;nbsp; Now how do I get it to hide those sub items only if the first instance of all of those repeating values has a specified value in another column?&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Repeating table - dependent items?  Formatting question.</title><link>https://www.infopathdev.com:443/forums/thread/73829.aspx</link><pubDate>Wed, 11 Jan 2012 23:14:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73829</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73829.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73829</wfw:commentRss><description>&lt;p&gt;So what I&amp;#39;m thinking is, all items in the kit will have the same unique gear ID.&amp;nbsp; If the top level item (the main item) has a &amp;quot;need&amp;quot; value of 0, then all the sub items will be hidden.&amp;nbsp; But how do I determine (in an expression) what the top (first) instance of a particular gear ID is?&amp;nbsp; How will I hide all BUT the remaining items with that gear ID if the top level gear ID &amp;quot;need&amp;#39; = 0?&lt;/p&gt;</description></item><item><title>Repeating table - dependent items?  Formatting question.</title><link>https://www.infopathdev.com:443/forums/thread/73793.aspx</link><pubDate>Wed, 11 Jan 2012 16:05:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73793</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73793.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73793</wfw:commentRss><description>&lt;p&gt;Although this scenario uses copy table, this isn&amp;#39;t a QRules question.&amp;nbsp; Please don&amp;#39;t move!&lt;/p&gt;
&lt;p&gt;I use copy table to pull in a SharePoint list for a gear order form.&amp;nbsp; This table has multiple columns for ordering gear and sorting the table, such as &amp;quot;need&amp;quot;, &amp;quot;spare&amp;quot;, a unique gear ID field, and category.&amp;nbsp;&amp;nbsp;&amp;nbsp;Users order gear by designating how much of an item they need in the &amp;quot;need&amp;quot; column.&lt;/p&gt;
&lt;p&gt;This all works great.&amp;nbsp; However, I have been thrown another curveball -&lt;/p&gt;
&lt;p&gt;Some items exist as a &amp;quot;kit&amp;quot;, ie, they have multiple sub-items under the main item.&amp;nbsp; For example, a &amp;quot;Computer&amp;quot; could be a main item, but also consists of &amp;quot;monitor&amp;quot;, &amp;quot;keyboard&amp;quot;, and &amp;quot;mouse&amp;quot; underneath it.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I am going to create all the main and sub items in my SharePoint list, and copy them into the form.&amp;nbsp; &lt;strong&gt;However, I only want the sub-items to be viewed in the table if the main item has a &amp;quot;need&amp;quot; value of one or more.&lt;/strong&gt;&amp;nbsp;&amp;nbsp; So initially, a user would see &amp;quot;Computer&amp;quot; in the order form.&amp;nbsp; But only when they order one, will the sub-items show up.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Basically I want to imitate a relational table.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;The next hurdle is going to be how to do the math if they order more than one &amp;quot;Computer&amp;quot;.&lt;/p&gt;</description></item></channel></rss>