<?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: Referencing Data in a Repeated Table</title><link>https://www.infopathdev.com:443/forums/thread/56332.aspx</link><pubDate>Wed, 30 Jun 2010 07:27:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56332</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56332.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=56332</wfw:commentRss><description>&lt;p&gt;You don&amp;#39;t need a separate XML data connection for this, and I have no idea what Alec&amp;#39;s blog post has to do with your situation.&lt;/p&gt;
&lt;p&gt;In the settings for your e-mail data connection, set up the formula for the subject line, so that it filters for the field in the same row where the checkbox is checked,&amp;nbsp; you can use the &lt;strong&gt;Filter Data...&lt;/strong&gt; feature in the &lt;strong&gt;Insert Field or Group...&lt;/strong&gt; dialog, or you can type out the XPath yourself, something like:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;/myFields/items/item[Selected = &amp;#39;true&amp;#39;]/Name&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;But if you should happen to have two rows with checkboxes checked, only the first one will be used (not the most recent one).&amp;nbsp; To get around this, you will either need to use Jo-Anne&amp;#39;s suggested approach, or implement a way to have only one row checked at a time.&amp;nbsp; Alec and I both have blogs on this:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/jimmy/archive/2009/08/05/a-mutually-exclusive-radio-button-in-a-repeating-section.aspx#comments"&gt;http://www.infopathdev.com/blogs/jimmy/archive/2009/08/05/a-mutually-exclusive-radio-button-in-a-repeating-section.aspx#comments&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://alecpojidaev.wordpress.com/2009/08/26/a-mutually-exclusive-check-box-in-a-repeating-section/"&gt;http://alecpojidaev.wordpress.com/2009/08/26/a-mutually-exclusive-check-box-in-a-repeating-section/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Referencing Data in a Repeated Table</title><link>https://www.infopathdev.com:443/forums/thread/56309.aspx</link><pubDate>Tue, 29 Jun 2010 19:38:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56309</guid><dc:creator>ben_v</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56309.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=56309</wfw:commentRss><description>&lt;p&gt;Not to sound lazy, but is there a way to do this without creating an XML file? I&amp;#39;m a temporary worker and people coming in later to append functionality might not be versed in XML.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;</description></item><item><title>Re: Referencing Data in a Repeated Table</title><link>https://www.infopathdev.com:443/forums/thread/56302.aspx</link><pubDate>Tue, 29 Jun 2010 17:45:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56302</guid><dc:creator>Alec Pojidaev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56302.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=56302</wfw:commentRss><description>&lt;p&gt;Check out this blog about referencing repeating tables:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://alecpojidaev.wordpress.com/2010/01/07/accessing-previous-rows-in-repeating-group-for-browser-enabled-forms/"&gt;http://alecpojidaev.wordpress.com/2010/01/07/accessing-previous-rows-in-repeating-group-for-browser-enabled-forms/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Referencing Data in a Repeated Table</title><link>https://www.infopathdev.com:443/forums/thread/56271.aspx</link><pubDate>Tue, 29 Jun 2010 06:28:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56271</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56271.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=56271</wfw:commentRss><description>&lt;p&gt;Hi Ben,&lt;/p&gt;
&lt;p&gt;You can create an XML file with the two data fields. For example:&lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;Util&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Fields&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;FName&amp;gt;&amp;lt;/FName&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;LName&amp;gt;&amp;lt;/LName&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Fields&amp;gt;&lt;br /&gt;&amp;lt;/Util&amp;gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Add the XML file as a receive type data connection (select XML in the wizard). Then, do the following:&lt;/p&gt;
&lt;p&gt;1. Open the check box properties and add a new rule.&lt;/p&gt;
&lt;p&gt;2. Set the condition such that check box = TRUE.&lt;/p&gt;
&lt;p&gt;3. Add Action to Set a field&amp;#39;s value.&lt;/p&gt;
&lt;p&gt;4. Select to set field1 from the XML source file&amp;nbsp;so that it takes the value of field1 in your Main data source.&lt;/p&gt;
&lt;p&gt;5. Repeat step 3 to set field 2.&lt;/p&gt;
&lt;p&gt;6. Edit the email data connection subject value, replacing the fields using the one in your data source. &lt;/p&gt;
&lt;p&gt;Let me know if that works!&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;</description></item><item><title>Referencing Data in a Repeated Table</title><link>https://www.infopathdev.com:443/forums/thread/56264.aspx</link><pubDate>Mon, 28 Jun 2010 20:18:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56264</guid><dc:creator>ben_v</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56264.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=56264</wfw:commentRss><description>&lt;p&gt;I think this is a newbie question...&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to use&amp;nbsp;a repeating table to act as a replacement for a log that was kept as a paper list. I would like for the user to be able to check a box in one row of&amp;nbsp;the repeating table and have the form email itself&amp;nbsp;with data from two text boxes in that same row in the subject line. I&amp;#39;m having trouble&amp;nbsp;referencing the text box in the same row as the check box that is selected. Currently, when you mark a check box that is on the second or lower&amp;nbsp;row in the repeating table, an email is created but the subject line is populated with the data from the text boxes in the first row. I need the subject line to be populated with data from the same row as the check box that was just checked.&lt;/p&gt;
&lt;p&gt;Thanks for your time,&lt;/p&gt;
&lt;p&gt;Ben&lt;/p&gt;</description></item></channel></rss>