<?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: Retrieving SharePoint lookup data based on a form field selection</title><link>https://www.infopathdev.com:443/forums/thread/73783.aspx</link><pubDate>Wed, 11 Jan 2012 09:42:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73783</guid><dc:creator>dw999</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73783.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=73783</wfw:commentRss><description>&lt;p&gt;Ahhh, yes, that would work that way. Thanks!&lt;/p&gt;&lt;p&gt;Does that imply that it&amp;#39;s not possible to dynamically reference a field at runtime by it&amp;#39;s name without code? e.g. &amp;quot;xdXDocument:GetDOM(&amp;quot;Thresholds&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:&amp;quot; + ../myThresholdAModifier &lt;/p&gt;&lt;p&gt;(Similar to the Javascript eval function) &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Retrieving SharePoint lookup data based on a form field selection</title><link>https://www.infopathdev.com:443/forums/thread/73780.aspx</link><pubDate>Wed, 11 Jan 2012 09:24:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73780</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73780.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=73780</wfw:commentRss><description>&lt;p&gt;Can you&amp;nbsp;try adding a rule in your dropdown that sets your Results field with a value like ../my:ThresholdA * xdXDocument:GetDOM(&amp;quot;Thresholds&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Low (where ThresholdA is your text field for entering &amp;quot;A&amp;quot; thresholds), add a condition if Modifier = &amp;quot;Low&amp;quot;.&amp;nbsp;Then create the same rule for &amp;quot;Medium&amp;quot; and &amp;quot;High&amp;quot;. See if that works.&lt;/p&gt;</description></item><item><title>Re: Retrieving SharePoint lookup data based on a form field selection</title><link>https://www.infopathdev.com:443/forums/thread/73779.aspx</link><pubDate>Wed, 11 Jan 2012 08:36:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73779</guid><dc:creator>dw999</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73779.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=73779</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Jo-Anne,&lt;/p&gt;&lt;p&gt;&amp;nbsp;There&amp;#39;s no relationship between the numbers the user enters - e.g. they could enter 10 for Threshold A,B and C and select Low for each &lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Retrieving SharePoint lookup data based on a form field selection</title><link>https://www.infopathdev.com:443/forums/thread/73778.aspx</link><pubDate>Wed, 11 Jan 2012 05:06:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73778</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73778.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=73778</wfw:commentRss><description>&lt;p&gt;Hi dw999,&lt;/p&gt;
&lt;p&gt;May I ask how do you identify if a number entered belongs to Threshold A, B, or C? For example, does 1-10 belongs to A? And what&amp;#39;s greater than 10 belongs to B and so on..?&lt;/p&gt;</description></item><item><title>Retrieving SharePoint lookup data based on a form field selection</title><link>https://www.infopathdev.com:443/forums/thread/73767.aspx</link><pubDate>Tue, 10 Jan 2012 21:55:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73767</guid><dc:creator>dw999</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73767.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=73767</wfw:commentRss><description>&lt;p&gt;
&lt;/p&gt;&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Had a search for this but couldn&amp;#39;t quite find what I was looking for, so apologies if this has been previously answered.&lt;/p&gt;

&lt;p&gt;Using IP2010, I have a standard SharePoint list data connection to a list which looks like this:&lt;/p&gt;

&lt;table cellpadding="6"&gt;
&lt;tr&gt;&lt;th&gt;Title&lt;/th&gt;&lt;th&gt;Low&lt;/th&gt;&lt;th&gt;Medium&lt;/th&gt;&lt;th&gt;High&lt;/th&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td&gt;Threshold A&lt;br /&gt;&lt;/td&gt;

&lt;td&gt;0.1&lt;/td&gt;

&lt;td&gt;0.3&lt;/td&gt;

&lt;td&gt;0.5&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td&gt;Threshold B&lt;br /&gt;&lt;/td&gt;

&lt;td&gt;0.2&lt;/td&gt;

&lt;td&gt;0.7&lt;/td&gt;

&lt;td&gt;1.0&lt;/td&gt;

&lt;/tr&gt;

&lt;tr&gt;
&lt;td&gt;Threshold C&lt;br /&gt;&lt;/td&gt;

&lt;td&gt;3&lt;/td&gt;

&lt;td&gt;6&lt;/td&gt;

&lt;td&gt;10.0&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;

&lt;p&gt;&amp;nbsp;In my form, I want to allow a user to enter a number for each threshold, a modifier (i.e. L,M,H) and for the form to multiply the two numbers together. E.g. &lt;br /&gt;&lt;/p&gt;

&lt;table cellpadding="6"&gt;
&lt;tr&gt;&lt;th&gt;&lt;br /&gt;&lt;/th&gt;&lt;th&gt;Value&lt;/th&gt;&lt;th&gt;Modifier&lt;/th&gt;&lt;th&gt;Result&lt;/th&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td&gt;Threshold A&lt;br /&gt;&lt;/td&gt;

&lt;td&gt;&lt;p&gt;[NUMBER FIELD] &lt;br /&gt;&lt;/p&gt;&lt;p&gt;e.g. 10 &lt;br /&gt;&lt;/p&gt;&lt;/td&gt;

&lt;td&gt;&lt;p&gt;[DROPDOWN FIELD] - contains Low, Medium, High&lt;/p&gt;&lt;p&gt;e.g. Medium &lt;br /&gt;&lt;/p&gt;&lt;/td&gt;

&lt;td&gt;&lt;p&gt;[CALCULATED FIELD] - Value * Matching&lt;/p&gt;&lt;p&gt;Modifier against the lookup for Threshold A &lt;/p&gt;&lt;p&gt;(e.g. 10 * 0.3 = 3)&lt;br /&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;I can filter the List Data Source to get the Threshold A values but I can&amp;#39;t figure out how to then return the value of the column that matches the name selected in the Modifier dropdown (i.e. Low/Medium/High)?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;i.e. xdXDocument:GetDOM(&amp;quot;Thresholds&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[d:Title = &amp;quot;Threshold A&amp;quot;] gets my the whole row in the list but I want dynamically retrieve the specific column - something like &amp;quot;xdXDocument:GetDOM(&amp;quot;Thresholds&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[d:Title = &amp;quot;Threshold A&amp;quot;]/d:[VALUE OF DROPDOWN]&amp;quot;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks! &lt;/p&gt;&lt;p&gt;p.s. I&amp;#39;m looking for a no-code-behind solution &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</description></item></channel></rss>