<?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: using XPath to trigger a change in values (interactions between secondary data source and Main)</title><link>https://www.infopathdev.com:443/forums/thread/28917.aspx</link><pubDate>Sat, 24 May 2008 00:45:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28917</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28917.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=28917</wfw:commentRss><description>&lt;p&gt;Hey Patrick.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The current function must reference a repeating node.&lt;/p&gt;
&lt;p&gt;You should be able to find some examples here of it in use by searching.&lt;/p&gt;</description></item><item><title>using XPath to trigger a change in values (interactions between secondary data source and Main)</title><link>https://www.infopathdev.com:443/forums/thread/28887.aspx</link><pubDate>Thu, 22 May 2008 20:25:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28887</guid><dc:creator>Patrick</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28887.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=28887</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;I have a secondary data source that I get from a web service.&amp;nbsp; I based my Main data source off of an xml schema that I created.&lt;/p&gt;&lt;p&gt;I have a secondary data source with a repeating table with multiple columns, one with a text box with an ID, and other columns (one of which is a name).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I have a main data source with a repeating table with 2 columns; one has an ID number in a drop down which is populated from the secondary data source.&amp;nbsp; The other column has a blank text box.&amp;nbsp; I would like the user to select an ID from the drop down and based on that, have the text box populate with the corresponding name from the secondary data source repeating table.&lt;/p&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt;Main Data Source Repeating Table&lt;/b&gt;&amp;nbsp;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;I used this formula in a rule (set within the drop down) to &amp;quot;Set a Field&amp;#39;s Value&amp;quot;&amp;nbsp; (the text box&amp;#39;s value).&amp;nbsp; This is the formula: (i am not too experienced with XPath)&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&lt;/i&gt;&lt;/b&gt;VendorName[VendorCircuitQuoteId = current()]&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;I don&amp;#39;t know if that&amp;#39;s enough info, but any help would be great.&amp;nbsp; thanks&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>