<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Problem populating a text box in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/45343.aspx</link><pubDate>Mon, 03 Aug 2009 18:15:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45343</guid><dc:creator>justin_a</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45343.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=45343</wfw:commentRss><description>&lt;p&gt;Still no luck - same results.&lt;/p&gt;
&lt;p&gt;I also tried the same xpath you suggested&amp;nbsp;(and a few slight variations) attached to a rule on JobCode that set the value of the PayRate field with no luck.&lt;/p&gt;
&lt;p&gt;Any other ideas?&lt;/p&gt;</description></item><item><title>Re: Problem populating a text box in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/45339.aspx</link><pubDate>Mon, 03 Aug 2009 17:16:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45339</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45339.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=45339</wfw:commentRss><description>&lt;p&gt;The expression box is considered to be at the same level as the repeating node, I think, and the text box is bound to a field in the repeating group, so a slightly different xpath is needed:&lt;/p&gt;
&lt;p&gt;xdXDocument:GetDOM(&amp;quot;Company Jobs&amp;quot;)/dfs:myFields/dfs:dataFields/dfs:Company_Jobs/@PayRate[../@JobCode = &lt;strong&gt;current()/../my:JobCode&lt;/strong&gt;]&lt;/p&gt;
&lt;p&gt;We have to move from the field we are at up to the repeating node, then back down to get the JobCode. &lt;/p&gt;</description></item><item><title>Re: Problem populating a text box in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/45336.aspx</link><pubDate>Mon, 03 Aug 2009 16:43:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45336</guid><dc:creator>justin_a</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45336.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=45336</wfw:commentRss><description>&lt;p&gt;The expression box was also in the repeating section.&amp;nbsp; (I also tried a repeating table with the same results.)&lt;/p&gt;
&lt;p&gt;The xPath formula I&amp;#39;m using in the expression looks like this (works as intended):&lt;/p&gt;
&lt;p&gt;xdXDocument:GetDOM(&amp;quot;Company Jobs&amp;quot;)/dfs:myFields/dfs:dataFields/dfs:Company_Jobs/@PayRate[../@JobCode = current()/my:JobCode]&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problem populating a text box in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/45335.aspx</link><pubDate>Mon, 03 Aug 2009 16:33:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45335</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45335.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=45335</wfw:commentRss><description>&lt;p&gt;Hi, Justin:&lt;/p&gt;
&lt;p&gt;Was the expression box you were using also located in the repeating section? What does the formula that is working in the expression box look like?&lt;/p&gt;</description></item><item><title>Problem populating a text box in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/45267.aspx</link><pubDate>Fri, 31 Jul 2009 16:15:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45267</guid><dc:creator>justin_a</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45267.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=45267</wfw:commentRss><description>&lt;p&gt;I am fairly new to infopath and am running into a minor problem.&lt;/p&gt;
&lt;p&gt;I work in HR and built a form that connects to a&amp;nbsp;couple of sharepoint lists.&amp;nbsp; The form includes a repeating table.&amp;nbsp; In the repeating table, the user enters a job code in the first text box.&amp;nbsp; I want the form to populate other fields in the row (job title, pay range, etc).&amp;nbsp; I figured out how to&amp;nbsp;use the current() function and do&amp;nbsp;a relative reference&amp;nbsp;and got the fields to populate as an expression.&lt;/p&gt;
&lt;p&gt;Problem is that I want to use the pay rate in some other formulas, so I need it&amp;nbsp;to populate it into a text box.&amp;nbsp; If I use the same xpath&amp;nbsp;formula from the expression in the default field of the text box, nothing happens.&amp;nbsp; It doesn&amp;#39;t flag an error, just returns a blank cell.&amp;nbsp; I also tried to set the text box using a rule on the job code box - same result, didn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;If I re-create the situation outside of&amp;nbsp;a repeating table or repeating section, it works perfectly (using either the default value or rule method).&amp;nbsp; Any thoughts?&amp;nbsp; I am totally perplexed.&lt;/p&gt;
&lt;p&gt;Thanks, Justin&lt;/p&gt;</description></item></channel></rss>