<?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: Repeating tables.</title><link>https://www.infopathdev.com:443/forums/thread/49980.aspx</link><pubDate>Wed, 16 Dec 2009 22:16:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49980</guid><dc:creator>laundrytubman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49980.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=49980</wfw:commentRss><description>&lt;p&gt;Wow, thanks for that, that is a ton of information.&amp;nbsp;&amp;nbsp;I am trying to concatinate the data into one field.&amp;nbsp; I am still having some isssues with it however.&amp;nbsp; this is my xpath: &lt;/p&gt;
&lt;p&gt;xdMath:Eval(../../my:ToolsGrouping/my:ToolBuild/my:Sensor, &amp;#39;concat(xdXDocument:GetDOM(&amp;quot;Tool Specific Requirements&amp;quot;)/dfs:myFields/dfs:dataFields/dfs:Tool_Specific_Requirements/@Requirements[xdXDocument:get-DOM()/my:myFields/my:ToolsGrouping/my:ToolBuild/my:Sensor/my:Tool1 = &lt;a href="mailto:../@Tool"&gt;../@Tool&lt;/a&gt;], &amp;quot; &amp;quot;)&amp;#39;)&lt;/p&gt;
&lt;p&gt;unfortunately, this outputs the same thing as before, it only outputs what the current repeating table&amp;nbsp;Tool1 is.&amp;nbsp; if i put another eval( infront with , &amp;quot;..&amp;quot;) at the end, it basically prints out the same thingx the number of rows in the repeating table.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Logically, i would like it to do this: For each Tool1 in Repeating table output Requirements where Tool is = Tool1 &lt;/p&gt;
&lt;p&gt;ARGH!&amp;nbsp; I need an XML course. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Repeating tables.</title><link>https://www.infopathdev.com:443/forums/thread/49970.aspx</link><pubDate>Wed, 16 Dec 2009 17:13:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49970</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49970.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=49970</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m afraid I don&amp;#39;t quite understand. When you say &amp;#39;all request row items&amp;#39; do you mean you want them in a concatenated form, like &amp;#39;item a, item b, item c&amp;#39;? Or do you mean you want to create another repeating table in your main data source that has an instance of the repeating group for each item?&lt;/p&gt;
&lt;p&gt;If you need to copy repeating data&amp;nbsp;from a secondary data source into your main data source and don&amp;#39;t want to write code, I&amp;#39;d recommend &lt;a href="http://www.qdabra.com/en/products/qRules.aspx"&gt;qRules&lt;/a&gt;. If you want to munge them all together in a comma (or some other delimiter) separated list, you should look into using the double eval method, particularly as described in &lt;a href="http://www.infopathdev.com/forums/p/7124/30263.aspx#30263"&gt;this post&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Re: Repeating tables.</title><link>https://www.infopathdev.com:443/forums/thread/49969.aspx</link><pubDate>Wed, 16 Dec 2009 16:43:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49969</guid><dc:creator>laundrytubman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49969.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=49969</wfw:commentRss><description>&lt;p&gt;Any help at all would be great!!&amp;nbsp; Please?&lt;/p&gt;</description></item><item><title>Repeating tables.</title><link>https://www.infopathdev.com:443/forums/thread/49942.aspx</link><pubDate>Tue, 15 Dec 2009 18:09:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49942</guid><dc:creator>laundrytubman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49942.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=49942</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a repeating table that is storing items in it as below. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;my:ToolsGrouping&amp;gt;&lt;br /&gt;&amp;lt;my:ToolBuild&amp;gt;&lt;br /&gt;&amp;lt;my:Sensor&amp;gt;&lt;br /&gt;&amp;lt;my:Tool1&amp;gt;10&amp;lt;/my:Tool1&amp;gt;&lt;br /&gt;&amp;lt;my:Software1&amp;gt;&amp;lt;/my:Software1&amp;gt;&lt;br /&gt;&amp;lt;/my:Sensor&amp;gt;&lt;br /&gt;&amp;lt;my:Sensor&amp;gt;&lt;br /&gt;&amp;lt;my:Tool1&amp;gt;20&amp;lt;/my:Tool1&amp;gt;&lt;br /&gt;&amp;lt;my:Software1&amp;gt;&amp;lt;/my:Software1&amp;gt;&lt;br /&gt;&amp;lt;/my:Sensor&amp;gt;&amp;lt;my:Sensor&amp;gt;&lt;br /&gt;&amp;lt;my:Tool1&amp;gt;30&amp;lt;/my:Tool1&amp;gt;&lt;br /&gt;&amp;lt;my:Software1&amp;gt;&amp;lt;/my:Software1&amp;gt;&lt;br /&gt;&amp;lt;/my:Sensor&amp;gt;&lt;br /&gt;&amp;lt;/my:ToolBuild&amp;gt;&lt;br /&gt;&amp;lt;/my:ToolsGrouping&amp;gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I then have a rule for the repeating table to output to a field. &lt;/p&gt;
&lt;p&gt;I am using a form library on an sharepoint site. the form is an infopath form, that has a separate datasource to another list on the sharepoint site. I then have a repeating table on the infopath form, that has a dropdown list that is populated by the sharepoint site datasource. Im not going to be able to write out the XML code for the sharepoint site, but lets say its a list with 2 columns, one labeled Tool and the 2nd labeled Request. The repeating table(this is the Tool1&amp;nbsp;in the datasource example above) on the infopath form is what was selected in the dropdown list that is populated with the Tool column from the sharepoint site list. What i would like, is to have an XPath expression that will output all Request row items that have the Tool row item the same as any of the reapeating table dropdown list (Tool1)&lt;br /&gt;&lt;br /&gt;This is what i currently have as the rule:&lt;/p&gt;
&lt;p&gt;&amp;lt;xsf:rule caption=&lt;font color="red" face=""&gt;&amp;quot;Tool Specific Requirements&amp;quot;&lt;/font&gt; condition=&lt;font color="red" face=""&gt;&amp;quot;. = xdXDocument:GetDOM(&amp;amp;quot;Tool Specific Requirements&amp;amp;quot;)/dfs:myFields/dfs:dataFields/dfs:Tool_Specific_Requirements/@Tool&amp;quot;&lt;/font&gt; isEnabled=&lt;font color="red" face=""&gt;&amp;quot;yes&amp;quot;&lt;/font&gt;&amp;gt;&lt;br /&gt;&amp;lt;xsf:assignmentAction targetField=&lt;font color="red" face=""&gt;&amp;quot;../../../../my:group4/my:Tool_Specific&amp;quot;&lt;/font&gt; expression=&lt;font color="red" face=""&gt;&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;Tool Specific Requirements&amp;amp;quot;)/dfs:myFields/dfs:dataFields/dfs:Tool_Specific_Requirements/@Requirements[../@Tool = current()]&amp;quot;&lt;/font&gt;&amp;gt;&amp;lt;/xsf:assignmentAction&amp;gt;&lt;br /&gt;&amp;lt;/xsf:rule&amp;gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;unfortunately this Xpath rule, only outputs the Requirements that has Tool the same as the specific row in the repeating table.&amp;nbsp; Each dropdownlist in each&amp;nbsp;row in the repeating table has a different value (as you can see from the xml at the top).&amp;nbsp; So what would the Xpath be to output all @Requirements that have @Tool the same as any of the &amp;quot;Tool1&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!!! &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>