<?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: Setting a variable based on a drop down list</title><link>https://www.infopathdev.com:443/forums/thread/72145.aspx</link><pubDate>Thu, 17 Nov 2011 13:00:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72145</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72145.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=72145</wfw:commentRss><description>&lt;p&gt;Hi-&lt;/p&gt;&lt;p&gt;The InfoPath out-of-the-box data connections don&amp;#39;t filter so I think you already have what you need.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The data connection lists all the IDs in and populates a dropdown.&lt;/p&gt;&lt;p&gt;The user selects an option from the dropdown.&lt;/p&gt;&lt;p&gt;Using that ID, you can filter. Create a rule on the dropdown and set the condition to &amp;quot;when the dropdown is not blank&amp;quot;.&lt;/p&gt;&lt;p&gt;Then have actions that set a field&amp;#39;s value, such as &lt;span style="font-weight:bold;font-style:italic;"&gt;name &lt;/span&gt;(from the main data source) = &lt;span style="font-weight:bold;font-style:italic;"&gt;name &lt;/span&gt;(from the secondary data source) [&lt;span style="font-weight:bold;font-style:italic;"&gt;ID&lt;/span&gt;=&lt;span style="font-style:italic;font-weight:bold;"&gt;ID&lt;/span&gt;]&lt;/p&gt;&lt;p&gt;The stuff in brackets is the filtering. You might need to play around with the filtering to make sure you understand it and set it correctly.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;m attaching a screenshot of an example. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Hope this helps. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Setting a variable based on a drop down list</title><link>https://www.infopathdev.com:443/forums/thread/72116.aspx</link><pubDate>Wed, 16 Nov 2011 16:35:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72116</guid><dc:creator>SeanMG</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72116.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=72116</wfw:commentRss><description>&lt;p&gt;First off, brand new to InfoPath and loving it, but I&amp;#39;m sorry if this question has been answered a hundred times.&amp;nbsp; Searched the forum and sounded like cascading dropdowns would possibly achieve it, but dont think it&amp;#39;s the solution.&lt;/p&gt;
&lt;p&gt;Here is what I am attempting to do:&lt;/p&gt;
&lt;p&gt;I have a dropdown list populated through a data connection that lists all IDs that uniquely identify an object,&amp;nbsp;then the user selects their object.&amp;nbsp; I want to use this selected ID in following data connections to populate text fields.&lt;/p&gt;
&lt;p&gt;such as select * from table where column = [populated ID]&lt;/p&gt;
&lt;p&gt;Is this possible?&amp;nbsp; If so, whats the functionality called and Ill sort through the forum and Google for instructions.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item></channel></rss>