<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Repeating Employee Table</title><link>https://www.infopathdev.com:443/forums/thread/93883.aspx</link><pubDate>Thu, 24 Oct 2013 16:25:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93883</guid><dc:creator>kameron.berget</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93883.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=93883</wfw:commentRss><description>That did it! I have done this several times and needed another pair of eyes. You rock. Thanks again!</description></item><item><title>Re: Repeating Employee Table</title><link>https://www.infopathdev.com:443/forums/thread/93882.aspx</link><pubDate>Thu, 24 Oct 2013 16:19:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93882</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93882.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=93882</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Your problem is here:&lt;/p&gt;&lt;p&gt;xdXDocument:get-DOM()/my:myFields/my:Time/my:Employee&lt;/p&gt;&lt;p&gt;That will always return the first Employee.&lt;/p&gt;&lt;p&gt;Since this rule is &lt;em&gt;on&lt;/em&gt; Employee, you should be able to use current() in place of that.&lt;/p&gt;&lt;p&gt;xdXDocument:GetDOM(&amp;quot;Employee Records&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:EmployeeID[../d:Title = current()]&lt;/p&gt;</description></item><item><title>Re: Repeating Employee Table</title><link>https://www.infopathdev.com:443/forums/thread/93879.aspx</link><pubDate>Thu, 24 Oct 2013 16:10:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93879</guid><dc:creator>kameron.berget</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93879.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=93879</wfw:commentRss><description>When the Employee is selected from the drop down that sets the two values. Condition: EmployeeName != &amp;quot;&amp;quot;.  Set EmployeeID: xdXDocument:GetDOM(&amp;quot;Employee Records&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:EmployeeID[../d:Title = xdXDocument:get-DOM()/my:myFields/my:Time/my:Employee],  Set Class:xdXDocument:GetDOM(&amp;quot;Employee Records&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:LaborClass[../d:Title = xdXDocument:get-DOM()/my:myFields/my:Time/my:Employee]

The Employee table uses the Title field for the name.</description></item><item><title>Re: Repeating Employee Table</title><link>https://www.infopathdev.com:443/forums/thread/93878.aspx</link><pubDate>Thu, 24 Oct 2013 16:06:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93878</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93878.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=93878</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Okay - if things are getting set to the value of the first row, something is off with your filter. Can you paste in the full XPath of the expression you are using?&lt;/p&gt;</description></item><item><title>Re: Repeating Employee Table</title><link>https://www.infopathdev.com:443/forums/thread/93876.aspx</link><pubDate>Thu, 24 Oct 2013 15:58:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93876</guid><dc:creator>kameron.berget</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93876.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=93876</wfw:commentRss><description>For testing I only have two values in the SharePoint list. Everything after the first row is set to the value of the first row.

Employee, EmployeeID, Class
John Doe, 12345, 1
Jane Doe, 54321, 5

The form:

[Row 1]  John Doe --&amp;gt; Rule Sets EmployeeID:12345 and Class:1
[Row 2]  Jane Doe --&amp;gt; Rule Sets EmployeeID:12345 and Class:1

Subsequent rows take the values from the first row.</description></item><item><title>Re: Repeating Employee Table</title><link>https://www.infopathdev.com:443/forums/thread/93875.aspx</link><pubDate>Thu, 24 Oct 2013 15:46:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93875</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93875.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=93875</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;When you say &amp;quot;set incorrectly&amp;quot; could you please tell me what &amp;quot;incorrectly&amp;quot; means here? Is the value being set to anything? To the wrong value? The first value? Some random value? :)&lt;/p&gt;</description></item><item><title>Re: Repeating Employee Table</title><link>https://www.infopathdev.com:443/forums/thread/93873.aspx</link><pubDate>Thu, 24 Oct 2013 15:41:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93873</guid><dc:creator>kameron.berget</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93873.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=93873</wfw:commentRss><description>The first row is set correctly but the subsequent rows are set incorrectly. I am using a filter but it still is incorrect. I am also displaying the data connection so I can verify that everything is ok and it looks good.</description></item><item><title>Re: Repeating Employee Table</title><link>https://www.infopathdev.com:443/forums/thread/93872.aspx</link><pubDate>Thu, 24 Oct 2013 15:36:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93872</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93872.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=93872</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi - when you say don&amp;#39;t set the values correctly, what do you mean? Are the values not getting set at all? Are they getting set to something unexpected? &lt;/p&gt;</description></item><item><title>Repeating Employee Table</title><link>https://www.infopathdev.com:443/forums/thread/93866.aspx</link><pubDate>Thu, 24 Oct 2013 13:16:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93866</guid><dc:creator>kameron.berget</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93866.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=93866</wfw:commentRss><description>This is my setup. I have a SharePoint list called Employee Data. My form has a repeating table for entering time entry type data. The first column in the repeating table is a drop down that is being fed from the employee data list. Up select of an employee I have a rule that is setting the EmployeeID and Class (Columns in Employee Data list). This rule works for the first row but subsequent rows don&amp;#39;t set the values correctly. What is the trick to getting this to work? My rule goes something like:

EmployeeID[Title = Employee]
LaborClass[Title = Employee]

I have done this before but something seems off about this. I hate to set the post back for each row since I will possibly have 100&amp;#39;s of rows.</description></item></channel></rss>