<?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: Is it possible to vary the value of a field in one row of a repeating table from the other rows?</title><link>https://www.infopathdev.com:443/forums/thread/65886.aspx</link><pubDate>Tue, 12 Apr 2011 18:42:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65886</guid><dc:creator>dms.WebDev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65886.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=65886</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&amp;nbsp; This can be done.&amp;nbsp; I realized there are several ways to approach it.&amp;nbsp; What I ended up doing was adding a check box&amp;nbsp;control to the repeating table to indicate TRUE if it was a row I wanted to effect the&amp;nbsp;value change&amp;nbsp;in.&amp;nbsp; The problem I had getting it to work stemmed more from forgetting to add a couple other rules/conditions that were necessary.&amp;nbsp; I wasn&amp;#39;t being specific enough.&lt;/p&gt;</description></item><item><title>Is it possible to vary the value of a field in one row of a repeating table from the other rows?</title><link>https://www.infopathdev.com:443/forums/thread/65885.aspx</link><pubDate>Tue, 12 Apr 2011 18:07:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65885</guid><dc:creator>dms.WebDev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65885.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=65885</wfw:commentRss><description>&lt;p&gt;What I&amp;#39;d like to do is have &lt;strong&gt;txtField1 &lt;/strong&gt;in my example below, in first row and last row only be equal to 75% of the value of txtField1 in the rows between the 1st and last rows.&amp;nbsp; I am determining which txtField1 value to change in a row based on the value of its&amp;nbsp;corresponding&amp;nbsp; datepicker1 value.&amp;nbsp; If datepicker1 value equals a date value of another field (outside this particular repeating table, say datepicker2) then calculate a different value for txtField1.&lt;/p&gt;
&lt;p&gt;Is this possible to do in a repeating table when the variables are the same for all rows?&amp;nbsp; Or must I create a new variable and exclude it from the repeating table to accomplish this?&amp;nbsp; I can get the formula to work but it changes all txtField1&amp;#39;s no matter what the date condition is so I can&amp;#39;t tell if it&amp;#39;s not working because I&amp;#39;m putting my datepicker conditions in the wrong place or because the fact that txtField1 is in a repeating table....??&lt;/p&gt;
&lt;p&gt;Example - 1 repeating table (all fields are same in each row)&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Row 1 controls are datepicker1,&amp;nbsp; &lt;strong&gt;txtField1= (.75 * &lt;/strong&gt;txField4&lt;strong&gt;),&lt;/strong&gt;&amp;nbsp;&amp;nbsp; txtField2 and txtField3. (each txtField is decimal data type).&lt;br /&gt;&amp;nbsp; Row 2 controls are datepicker1,&amp;nbsp; txtField1 = (txtField4),&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; txtField2 and txtField3. (each txtField is decimal data type).&lt;br /&gt;&amp;nbsp; Row 3 controls are datepicker1,&amp;nbsp; txtField1 = (txtField4),&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; txtField2 and txtField3. (each txtField is decimal data type).&lt;br /&gt;&amp;nbsp; Row 4 controls are datepicker1,&amp;nbsp; &lt;strong&gt;txtField1= (.75 * &lt;/strong&gt;txtField4&lt;strong&gt;),&lt;/strong&gt;&amp;nbsp; txtField2 and txtField3. (each txtField is decimal data type).&lt;/p&gt;</description></item></channel></rss>