<?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: easy: repeating table gets unique values from repeating section</title><link>https://www.infopathdev.com:443/forums/thread/66819.aspx</link><pubDate>Thu, 26 May 2011 10:28:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66819</guid><dc:creator>daniloraf</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66819.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=66819</wfw:commentRss><description>&lt;p&gt;Joern, &lt;/p&gt;
&lt;p&gt;Sorry, it really has been a long time since I posted it, but I still know what it was for. Sorry, no, I could never get it to work.&lt;/p&gt;
&lt;p&gt;Today I would do something like what Hillary sugested above, but that is the case only if you are using a database.&lt;/p&gt;</description></item><item><title>Re: easy: repeating table gets unique values from repeating section</title><link>https://www.infopathdev.com:443/forums/thread/66816.aspx</link><pubDate>Thu, 26 May 2011 09:29:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66816</guid><dc:creator>Joern</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66816.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=66816</wfw:commentRss><description>&lt;p&gt;I know, this thread is quite old bur is it already solved? I&amp;#39;m interested in a summary of a repeating table in an other repeating table as well.&lt;/p&gt;</description></item><item><title>Re: easy: repeating table gets unique values from repeating section</title><link>https://www.infopathdev.com:443/forums/thread/36115.aspx</link><pubDate>Fri, 19 Dec 2008 19:54:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36115</guid><dc:creator>daniloraf</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36115.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36115</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Hilary Stoupa:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Is the summary table a read-only thing? If so, couldn&amp;#39;t you create a SQL view with the data you want, using aggregate functions like SUM(), and then add another data connection to your form to pull the data back?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br /&gt;&lt;br /&gt;Hi, Hilary! You´re right, the summary&amp;nbsp;is a read-only table. But the data is not being retrieved from a secondary source (sql).. it has to be retrived in real-time (if you will) from the table the user entered. This form will be changed and saved by the user many times along a couple of weeks before it´s info is sent to a databse.&lt;br /&gt;&lt;br /&gt;Using the not function of preceding-sibling (very popular in this forum for what i could see)&amp;nbsp;i was able to get this:&lt;br /&gt;&lt;br /&gt;let´s say the user entered this into the materials table..&lt;br /&gt;invoice 1&lt;br /&gt;blue&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;br /&gt;green&amp;nbsp;&amp;nbsp; 5&lt;br /&gt;yellow&amp;nbsp; 5&lt;br /&gt;yellow&amp;nbsp; 3&lt;br /&gt;then he added another repeating section so he can add invoice 2&lt;br /&gt;invoice 2&lt;br /&gt;blue&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;br /&gt;black&amp;nbsp;&amp;nbsp; 2&lt;br /&gt;black&amp;nbsp;&amp;nbsp; 1&lt;br /&gt;yellow&amp;nbsp; 2&lt;br /&gt;&lt;br /&gt;the summary table should tell the user, while he is typing the invoices,&amp;nbsp;all colors and the sum of colors´s values, like this:&lt;br /&gt;black&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;br /&gt;blue&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13&lt;br /&gt;green&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;br /&gt;yellow&amp;nbsp;&amp;nbsp; 10&lt;br /&gt;&lt;br /&gt;however, i´ve linked the summary repeating table to the node tree just above the field with the color, and then directly with the color, and filltered the table to show only data with unique values using:&lt;br /&gt;&lt;br /&gt;not(my:materialcolorname = preceding-sibling::my:individualinvoice/my:materialcolorname&lt;br /&gt;&lt;br /&gt;the result im getting is&lt;br /&gt;material summary&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sq2&lt;br /&gt;blue&lt;br /&gt;green&lt;br /&gt;yellow (only once, so it worked for at least one individual invoice)&lt;br /&gt;blue&lt;br /&gt;black (only once again, so it worked for the oter individual inoice)&lt;br /&gt;yellow (this color is also present in invoice1, but this is the problem..it is showing up again)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: easy: repeating table gets unique values from repeating section</title><link>https://www.infopathdev.com:443/forums/thread/36113.aspx</link><pubDate>Fri, 19 Dec 2008 19:18:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36113</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36113.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36113</wfw:commentRss><description>&lt;p&gt;Is the summary table a read-only thing? If so, couldn&amp;#39;t you create a SQL view with the data you want, using aggregate functions like SUM(), and then add another data connection to your form to pull the data back? &lt;/p&gt;</description></item><item><title>Re: easy: repeating table gets unique values from repeating section</title><link>https://www.infopathdev.com:443/forums/thread/36096.aspx</link><pubDate>Fri, 19 Dec 2008 13:27:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36096</guid><dc:creator>daniloraf</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36096.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36096</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Shiva:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Hello,I am little bit confusion with your data source and summary. I am not clear about your data source.From summary,Invoice 1 and Invoice 2 repeating section values with different columns and you want to show the result is in separate section called ‘&lt;strong&gt;PURCHASED MATERIALS OUTLINE&lt;/strong&gt;&amp;#39; in that for each field you have to add the formula like &lt;b&gt;sum (marbleA)&lt;/b&gt;. One thing I am not getting in Invoice 1 and Invoice 2 sections contains only two fields and you want output is for three fields which is not equal to your schema?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Hi Shiva! Thanks for replying!&lt;/b&gt;&lt;br /&gt;Sorry, the Purchased Materials outline is the summary. This part of the form (which is a repeating table), must retrieve all unique values from material names. The numbers of sq2 are not important, I´m only having trouble getting the unique names of marble(materials) to the summary below all invoices. Think of it like this: Invoice1 sells blue and green. Invoice2 consists on the sale of blue and yellow.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The summary (purchased materials outline) is a repeating table which must automatically list every unique marble sold (retrieved from all invoices above), so I don´t get blue twice (duplicate values).&lt;/b&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: easy: repeating table gets unique values from repeating section</title><link>https://www.infopathdev.com:443/forums/thread/36091.aspx</link><pubDate>Fri, 19 Dec 2008 12:46:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36091</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36091.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36091</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am little bit confusion with your data source and summary. I am not clear about your data source.&lt;/p&gt;
&lt;p&gt;From summary,&lt;/p&gt;
&lt;p&gt;Invoice 1 and Invoice 2 repeating section values with different columns and you want to show the result is in separate section called ‘&lt;strong&gt;PURCHASED MATERIALS OUTLINE&lt;/strong&gt;&amp;#39; in that for each field you have to add the formula like &lt;b&gt;sum (marbleA)&lt;/b&gt;. &lt;/p&gt;
&lt;p&gt;One thing I am not getting in Invoice 1 and Invoice 2 sections contains only two fields and you want output is for three fields which is not equal to your schema?&lt;/p&gt;</description></item><item><title>easy: repeating table gets unique values from repeating section</title><link>https://www.infopathdev.com:443/forums/thread/36056.aspx</link><pubDate>Thu, 18 Dec 2008 16:28:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36056</guid><dc:creator>daniloraf</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36056.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36056</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;b&gt;Objective: A &amp;quot;ordered-goods X shipped-goods&amp;quot; &lt;/b&gt;form, where half
the page lists all invoices for a client´s construction (product and
quantity only). The other half of the vertically split page shows all
shippings. And below each there is a sort of summary, an outline of
everything the client bought, and everything the company has already
delivered (and what still needs to be delivered).&lt;br /&gt;&lt;br /&gt;PURCHASED MATERIALS&lt;br /&gt;Invoice 1&lt;br /&gt;&lt;b&gt;Material&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sq2&lt;/b&gt;&lt;br /&gt;marbleA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;br /&gt;marbleB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;br /&gt;&lt;br /&gt;Invoice 2&lt;br /&gt;&lt;b&gt;Material&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sq2&lt;/b&gt;&lt;br /&gt;marbleA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;br /&gt;marbleC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;br /&gt;-----------------------------------------------------&amp;nbsp;&amp;nbsp;&amp;nbsp;
and this is what I need below (if I get this working, ill get the rest
of the form working too)&lt;br /&gt;PURCHASED MATERIALS OUTLINE&lt;br /&gt;&lt;b&gt;Material&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sq2&lt;/b&gt;&lt;br /&gt;marbleA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13&lt;br /&gt;marbleB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;br /&gt;marbleC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;br /&gt;&lt;br /&gt;(this is what it should be like.. &lt;b&gt;the outline must show only one of each marble type&lt;/b&gt;, and the sum of meters from all invoices.. but I can´t get this to work)&lt;br /&gt;&lt;br /&gt;1) the material-sq2 is a repeating table, inside a repeating section (so user can add another invoice to the form).&lt;br /&gt;2) purchased materials outline is a repeating table.&lt;br /&gt;&lt;br /&gt;My datasource is like this:&lt;br /&gt;clientcontrolform&lt;br /&gt;........purchasedmaterials (group) (repeating section)&lt;br /&gt;..............invoices (group)&lt;br /&gt;..............idinvoice (field)&lt;br /&gt;..............individualinvoice (group)&amp;nbsp; (repeating table)&lt;br /&gt;.....................purchasedmat (field)&lt;br /&gt;.....................purchasedmatsq2&amp;nbsp; (field)&lt;br /&gt;........purchasedmaterialsoutline (group) (repeating table)&lt;br /&gt;..............purchasedmatoutline (field)&lt;br /&gt;..............purchasedmatsq2totaloutline (field)&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Basically, i need to populate the purchased materials outline with a single entry of each marble..how?&lt;/p&gt;</description></item></channel></rss>