<?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: Getting data of repeating table under a condition</title><link>https://www.infopathdev.com:443/forums/thread/64920.aspx</link><pubDate>Mon, 07 Mar 2011 15:15:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64920</guid><dc:creator>NMarien</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64920.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=64920</wfw:commentRss><description>&lt;p&gt;Hi Jimmy,&lt;/p&gt;
&lt;p&gt;Thanks a lot for your help! Problem solved! :-)&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Niels&lt;/p&gt;</description></item><item><title>Re: Getting data of repeating table under a condition</title><link>https://www.infopathdev.com:443/forums/thread/64826.aspx</link><pubDate>Fri, 04 Mar 2011 15:36:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64826</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64826.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=64826</wfw:commentRss><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I apologize.&amp;nbsp; For some reason, I didn&amp;#39;t get an e-mail notification of your e-mail from 3 days ago and just now got a notification of your most recent e-mail.&lt;/p&gt;
&lt;p&gt;There are a few points that are still unclear to me, but I think I have enough to go on.&lt;/p&gt;
&lt;p&gt;The XPath formula to get at the corresponding field value for the group with the maximum date is:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;/my:myFields/my:Table1[my:T1_accounting_year_closed = /my:myFields/my:maxDate]/&lt;strong&gt;&lt;em&gt;&lt;u&gt;fieldToRetrieve&lt;/u&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;So to get the value of the ETR_per_return field in the row with the max date, you could use:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;/my:myFields/my:Table1[my:T1_accounting_year_closed = /my:myFields/my:maxDate]/my:ETR_per_return&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;and you can use this in a rule or Expression Box control.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And just as a tip, you don&amp;#39;t have to have a control bound to a hidden field in order for it to work.&amp;nbsp; As long as the field is present in your data source, it will do its job.&amp;nbsp; So you can delete that 1px textbox for your hidden_field field.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Is the above information enough to solve your problem?&lt;/p&gt;</description></item><item><title>Re: Getting data of repeating table under a condition</title><link>https://www.infopathdev.com:443/forums/thread/64825.aspx</link><pubDate>Fri, 04 Mar 2011 15:02:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64825</guid><dc:creator>NMarien</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64825.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=64825</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Jimmy,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Sorry to bother you again... Did you perhaps had some time to see if you can help me solving this issue?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you very much in advance!&lt;/p&gt;&lt;p&gt;Niels &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Getting data of repeating table under a condition</title><link>https://www.infopathdev.com:443/forums/thread/64738.aspx</link><pubDate>Wed, 02 Mar 2011 11:15:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64738</guid><dc:creator>NMarien</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64738.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=64738</wfw:commentRss><description>&lt;p&gt;Hi Jimmy,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve updated my html file (made it more detailed). Hopefully everything is clear now, otherwise I can always send you the original document?&lt;/p&gt;
&lt;p&gt;Thank you verry much in advance,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Niels&lt;/p&gt;</description></item><item><title>Re: Getting data of repeating table under a condition</title><link>https://www.infopathdev.com:443/forums/thread/64731.aspx</link><pubDate>Wed, 02 Mar 2011 09:25:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64731</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64731.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=64731</wfw:commentRss><description>&lt;p&gt;Hello Niels,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you for providing that information in such a neatly laid-out fashion, but I need a little more information to answer your question.&lt;/p&gt;
&lt;p&gt;Could you provide a screenshot of your datasource that includes:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The root node of the data source (the node at the very top)&lt;/p&gt;
&lt;p&gt;The field where you&amp;#39;re storing the latest date&lt;/p&gt;
&lt;p&gt;The repeating group included in your current screenshot&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I&amp;#39;m not clear which fields in your repeating group correspond to the information you want to show in &lt;strong&gt;Table 1: Report per books...&lt;/strong&gt;, You have lines that say &amp;quot;Report per books after income taxes&amp;quot; and &amp;quot;Income taxes&amp;quot;, but I don&amp;#39;t see fields with names like this in the &lt;strong&gt;Table_1&lt;/strong&gt; group.&amp;nbsp; Are they there and I&amp;#39;m not noticing them, or are they calculated from several fields?&lt;/p&gt;</description></item><item><title>Re: Getting data of repeating table under a condition</title><link>https://www.infopathdev.com:443/forums/thread/64729.aspx</link><pubDate>Wed, 02 Mar 2011 07:27:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64729</guid><dc:creator>NMarien</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64729.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=64729</wfw:commentRss><description>&lt;p&gt;Hi Jimmy,&lt;/p&gt;
&lt;p&gt;Thanks for your e-mail. Please find hereafter a more detailed explanation of what the purpose exactly is:&amp;nbsp; &lt;a title="Infopath example" href="http://www.webcotrans.com/infopath.html" target="_blank"&gt;click here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;Thank you all for your help!!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Niels&lt;/p&gt;</description></item><item><title>Re: Getting data of repeating table under a condition</title><link>https://www.infopathdev.com:443/forums/thread/64543.aspx</link><pubDate>Thu, 24 Feb 2011 16:14:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64543</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64543.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=64543</wfw:commentRss><description>&lt;p&gt;Could you attach a screenshot of your data source&amp;#39;s layout?&lt;/p&gt;</description></item><item><title>Getting data of repeating table under a condition</title><link>https://www.infopathdev.com:443/forums/thread/64539.aspx</link><pubDate>Thu, 24 Feb 2011 14:49:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64539</guid><dc:creator>NMarien</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64539.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=64539</wfw:commentRss><description>&lt;p&gt;Dear all,&lt;/p&gt;&lt;p&gt;I&amp;#39;m new to infopath and made myself a repeating table where&amp;nbsp; people can fill in the following:&lt;/p&gt;&lt;p&gt;Date &amp;nbsp; Event &amp;nbsp;&amp;nbsp; Price&lt;/p&gt;&lt;p&gt;With the help of this formule (&lt;a href="http://www.bizsupportonline.net/blog/2009/06/select-latest-date-repeating-table-infopath/" title="Latest date"&gt;Latest date)&lt;/a&gt; I was able to find the latest date (most recent) inside the repeating table.&lt;/p&gt;&lt;p&gt;What I would like to do next, is to create new text-field where the &amp;#39;Event&amp;#39; will be displayed, which is related to the latest date.&lt;/p&gt;&lt;p&gt;----------&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;u&gt;Example &lt;/u&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Latest date:&amp;nbsp; 25-02-2011&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Event&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Price&lt;br /&gt;14-02-2011&amp;nbsp;&amp;nbsp;&amp;nbsp; Event 123&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25 EUR&lt;br /&gt;18-02-2011&amp;nbsp;&amp;nbsp;&amp;nbsp; Event 456&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30 EUR&lt;br /&gt;25-02-2011&amp;nbsp;&amp;nbsp;&amp;nbsp; Event 789&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 35 EUR&lt;/p&gt;&lt;p&gt;[The field I would like to have:]&amp;nbsp; &lt;b&gt;Event: &amp;nbsp; Event789&lt;/b&gt;&lt;/p&gt;&lt;p&gt;---------- &lt;br /&gt;&lt;/p&gt;&lt;p&gt;More in detail that he would repeat a value (in the repeating table) which is on the same row as the lastest date.&lt;/p&gt;&lt;p&gt;Is this possible without programming? As I would like to sent these forms out via e-mail.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Thank you all in advance! &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Niels &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>