<?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: Set 4 text box values off the selection from a drop-down</title><link>https://www.infopathdev.com:443/forums/thread/85220.aspx</link><pubDate>Tue, 11 Dec 2012 09:05:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85220</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85220.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=85220</wfw:commentRss><description>&lt;p&gt;It would be something like the following:&lt;/p&gt;&lt;p&gt;Add action rule to the dropdown box&amp;#39;s field&lt;/p&gt;&lt;p&gt;Action: Set a field&amp;#39;s value&lt;/p&gt;&lt;p&gt;Set field: VendorID (in main data source)&lt;/p&gt;&lt;p&gt;Value: &lt;/p&gt;&lt;ol&gt;&lt;li&gt;Click the fx button to open the formula editor&lt;/li&gt;&lt;li&gt;Click the Select a field or group... button&lt;/li&gt;&lt;li&gt;In the dialog, select the VendorID field from the secondary data source (but don&amp;#39;t click OK yet)&lt;/li&gt;&lt;li&gt;Click the Filter data... button, and set up the condition ClientName (from secondary data source) equals ClientName (from the main data source)&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Repeat the above for the rest of the fields.&lt;/p&gt;&lt;p&gt;Customarily, I think it would be typical to bind the dropdown to the ClientID field, use ClientName as the display value, and ClientID as the value value.&amp;nbsp; The process above would still be the same except that you would use ClientID in the filter instead of ClientName.&lt;/p&gt;</description></item><item><title>Set 4 text box values off the selection from a drop-down</title><link>https://www.infopathdev.com:443/forums/thread/85146.aspx</link><pubDate>Thu, 06 Dec 2012 21:36:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85146</guid><dc:creator>thorny222</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85146.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=85146</wfw:commentRss><description>&lt;p&gt;Using 2010&lt;/p&gt;&lt;p&gt; I have a SQL view -&lt;/p&gt;&lt;p&gt;SELECT&lt;br /&gt;c.ClientID,&lt;br /&gt;c.ClientName,&lt;br /&gt;p.ProjectID,&lt;br /&gt;v.VendorID,&lt;br /&gt;f.FeedID&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;FROM&amp;nbsp; tbl_Clients c INNER JOIN&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; tbl_Projects p ON c.ClientID = p.ClientID INNER JOIN&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; tbl_Feeds f ON p.ProjectID = f.ProjectID INNER JOIN&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; tbl_Vendors v ON f.VendorID = v.VendorID&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In InfoPath, the c.ClientName is used to populate the drop-down.&amp;nbsp; Once the client is chosen, I would like to populate the text boxes for&amp;nbsp; ClientID, VendorID, ProjectID and FeedID.&lt;/p&gt;&lt;p&gt;Is this possible to do and if so, how.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks for your time and help, it is greatly appreciated. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>