<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Calculated value control not fetching and throwing corresponding values from SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/90864.aspx</link><pubDate>Thu, 20 Jun 2013 16:02:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90864</guid><dc:creator>jseeker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90864.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90864</wfw:commentRss><description>&lt;p&gt;Wow, thanks. I was about to respond to your question and I did the action step by step, document&amp;nbsp;and voila, it worked....&lt;/p&gt;&lt;p&gt;Thanks a lot ErnestoM for patiently pointing me in the right direction. Now, I have to do the same thing for other fields as well.... :-)&lt;/p&gt;&lt;p&gt;Thanks once again.&lt;/p&gt;</description></item><item><title>Re: Calculated value control not fetching and throwing corresponding values from SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/90847.aspx</link><pubDate>Thu, 20 Jun 2013 13:06:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90847</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90847.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90847</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;What field did you select before clicking Filter Data? After Insert field or group, which field was selected for the filter you are adding?&lt;/p&gt;</description></item><item><title>Re: Calculated value control not fetching and throwing corresponding values from SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/90833.aspx</link><pubDate>Wed, 19 Jun 2013 20:07:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90833</guid><dc:creator>jseeker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90833.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90833</wfw:commentRss><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;&lt;p&gt;This is what I have done in the calculated value properties.&lt;/p&gt;&lt;p&gt;Calculated value --&amp;gt; Properties --&amp;gt; Data Source --&amp;gt; click function --&amp;gt; Insert formula window --&amp;gt; Insert field or group --&amp;gt; Filter Data --&amp;gt;Add --&amp;gt; Employee ID (from DB) = Employee ID (Field). When I hit OK and try to save it gives the following error message&lt;/p&gt;&lt;p&gt;&amp;quot;A filter cannot be applied to the currently selected field. Select a different field&amp;quot;&lt;/p&gt;&lt;p&gt;Alternately, I thought I can add a filter via rules (by setting a field value action) but when I click new rule, only formatting is enabled. Action and Formatting rules are greyed out.&lt;/p&gt;&lt;p&gt;Thanks,&amp;nbsp;please let me&amp;nbsp;know if additional information is required.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Calculated value control not fetching and throwing corresponding values from SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/90829.aspx</link><pubDate>Wed, 19 Jun 2013 19:31:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90829</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90829.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90829</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;So, when setting up the Calculated Value&amp;nbsp;did you find the &amp;quot;Filter Data&amp;quot; button?&lt;/p&gt;</description></item><item><title>Re: Calculated value control not fetching and throwing corresponding values from SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/90828.aspx</link><pubDate>Wed, 19 Jun 2013 19:26:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90828</guid><dc:creator>jseeker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90828.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90828</wfw:commentRss><description>&lt;p&gt;Thanks ErnestoM for your reply and exactly stating that I need the right filter criteria. My XPath &amp;quot;path value&amp;quot; for the calculated value control to fetch &amp;quot;Job Title&amp;quot; for a given &amp;quot;Employee ID&amp;quot; is this:&lt;/p&gt;&lt;p&gt;xdXDocument:GetDOM(&amp;quot;Employee_Tracker&amp;quot;)/dfs:myFields/dfs:dataFields/dfs:Employee_Tracker/@Job_Title&lt;/p&gt;&lt;p&gt;In this case, I am trying to pull the Job_Title for &amp;quot;Employee ID&amp;quot; being typed in the form. As you mentioned, I need some way of weaving the Employee_ID filter into the XPath command above.. &lt;/p&gt;&lt;p&gt;Thanks for your time and advise.&lt;/p&gt;</description></item><item><title>Re: Calculated value control not fetching and throwing corresponding values from SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/90825.aspx</link><pubDate>Wed, 19 Jun 2013 19:07:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90825</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90825.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90825</wfw:commentRss><description>&lt;p&gt;The problem with this scenario is the lack of filtering. The calculated value is a single field but it&amp;#39;s hooked up to repeating data, so it just grabs the first row.&lt;/p&gt;&lt;p&gt;I&amp;#39;m thinking that in the process of setting up the Calculated Value you might see a &amp;quot;Filter Data&amp;quot; button. This is what you&amp;#39;re missing. You&amp;#39;ll be matching the ID that has been entered to the ID in the secondary data source.&lt;/p&gt;&lt;p&gt;Hope this helps!&lt;/p&gt;</description></item><item><title>Calculated value control not fetching and throwing corresponding values from SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/90820.aspx</link><pubDate>Wed, 19 Jun 2013 15:58:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90820</guid><dc:creator>jseeker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90820.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90820</wfw:commentRss><description>&lt;p&gt;Hi,
&lt;/p&gt;&lt;p&gt;I am new to InfoPath but have good knowledge on SharePoint. I am creating an InfoPath form in the InfoPath 2007 Form filler format using InfoPath 2010 Designer (because backend systems are InfoPath 2007).
&lt;/p&gt;&lt;p&gt;I have a list hosted in SharePoint that has 5 columns with one of the column being unique – employee ID. This employee ID (is a whole number) is being requested to be typed in InfoPath form. Once the users type the employee ID and hit enter, the remaining 4 columns (Title, Department, Manager, Pay-grade) need to be populated in the InfoPath form.
&lt;/p&gt;&lt;p&gt;I use calculated value control (because that is the requirement from my team lead) in InfoPath and am trying to pull the corresponding values (Title, Department, Manager, Pay-grade) for the employee ID that is typed in the form.
&lt;/p&gt;&lt;p&gt;My calculated value control in InfoPath always returns the value from the first row corresponding cell value&amp;nbsp;irrespective of the employee id being provided. When I try fetching the lookup value, I am not able to write the correct code for XPath calculated value (to pick the correct row and corresponding cell). 
Any help is appreciated.&lt;/p&gt;&lt;p&gt;Thanks in advance.&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>