<?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: dropdown value pre-selected</title><link>https://www.infopathdev.com:443/forums/thread/54616.aspx</link><pubDate>Thu, 06 May 2010 18:02:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54616</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54616.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=54616</wfw:commentRss><description>You should use a default value on the field bound to the dropdown box, or a rule to set the value of the field bound to the dropdown box.&amp;nbsp; However, the rule to do this cannot be on that field itself because rules on fields only execute when their field&amp;#39;s value changes.&lt;br /&gt;</description></item><item><title>dropdown value pre-selected</title><link>https://www.infopathdev.com:443/forums/thread/54576.aspx</link><pubDate>Thu, 06 May 2010 09:28:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54576</guid><dc:creator>evvo1961</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54576.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=54576</wfw:commentRss><description>&lt;p&gt;i have a dropdown control pulling in values from a database.&lt;/p&gt;
&lt;p&gt;what i would like to do on form load is have the dropdown show the department that the machine user belongs to... BUT also show all the other values in case they wish to change this for whatever reason...&lt;/p&gt;
&lt;p&gt;i can easily set this with a filter on the data source but it only shows the 1 department excluding all the other options.&lt;/p&gt;
&lt;p&gt;setting an added rule on the control&amp;nbsp;has no effect.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>