<?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: Auto fill working intermittently</title><link>https://www.infopathdev.com:443/forums/thread/65446.aspx</link><pubDate>Fri, 25 Mar 2011 15:55:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65446</guid><dc:creator>dms.WebDev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65446.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=65446</wfw:commentRss><description>&lt;p&gt;It&amp;#39;s been a while since I&amp;#39;ve been able to revisit this problem.&amp;nbsp; Hilary, thank you for pointing out the &amp;quot;is not blank&amp;quot; issue.&amp;nbsp; It should have dawned on me....but it didn&amp;#39;t, and I appreciate you spelling it out!&lt;/p&gt;
&lt;p&gt;I tried Ernesto&amp;#39;s suggestion (thank you Ernesto)&amp;nbsp;and it worked. I created an &amp;quot;is not blank&amp;quot; rule before loading data connection and now it doesn&amp;#39;t matter which order the 2&amp;nbsp;drop down lists are selected.&amp;nbsp; In the data connection wizard, on the &lt;em&gt;Enter a name for this data connection&lt;/em&gt; screen,&amp;nbsp;I had previously checked the box &amp;quot;&lt;em&gt;Automatically retrieve data when form is opened&lt;/em&gt;&amp;quot; so that may have been causing the issue.&amp;nbsp; I left it checked and with new rules, it seems to be working but theoretically I could probably uncheck that box now that I&amp;#39;m loading data connection when the field is blank.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I wonder if I should uncheck it?&amp;nbsp; Would it make the form load more effeciently?&lt;/p&gt;</description></item><item><title>Re: Auto fill working intermittently</title><link>https://www.infopathdev.com:443/forums/thread/63719.aspx</link><pubDate>Sat, 29 Jan 2011 01:02:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63719</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63719.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=63719</wfw:commentRss><description>&lt;p&gt;We&amp;#39;d expect the third field to be disabled with the comparision of is not blank -- the comparative is already defined. We select a value in the third drop down when we use something like &amp;quot;equals&amp;quot;.&lt;/p&gt;
&lt;p&gt;Field1 = Field2, for example.&lt;/p&gt;
&lt;p&gt;But Field1 is blank (is not blank, is present, is not present) is a complete condition.&lt;/p&gt;
&lt;p&gt;I think Ernesto&amp;#39;s proposal assumes your two drop downs are bound to different fields, each which would have its own ruleset -- I may be misunderstanding.&lt;/p&gt;</description></item><item><title>Re: Auto fill working intermittently</title><link>https://www.infopathdev.com:443/forums/thread/63716.aspx</link><pubDate>Sat, 29 Jan 2011 00:12:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63716</guid><dc:creator>dms.WebDev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63716.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=63716</wfw:commentRss><description>&lt;p&gt;Are you suggesting I set a new Rule for the drop down list?&amp;nbsp; I tried but when I Set Condition and choose &amp;quot;is not blank&amp;quot;, the 3rd field in Condition dialog (of Rule) goes gray (I can&amp;#39;t select anything).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Auto fill working intermittently</title><link>https://www.infopathdev.com:443/forums/thread/63683.aspx</link><pubDate>Fri, 28 Jan 2011 12:22:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63683</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63683.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=63683</wfw:commentRss><description>&lt;p&gt;If you&amp;#39;re pulling the data from the same source and setting the query parameter (EmployeeName) before calling the data connection, then what you are describing should work. So, to be clear, the rules should be:&lt;/p&gt;&lt;p&gt;1. When Dropdown1 is not blank, use the Employee Name selected in dropdown1 to query the data connection, and return the numerous fields, and set their values in the main DOM.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. When Dropdown2 is not blank, use the Employee Name selected in dropdown2 to query the data connection, and return one field, and set its value in the main DOM.&lt;/p&gt;&lt;p&gt;However, adding a second data connection, even as a troubleshooting step to figure out what&amp;#39;s wrong, shouldn&amp;#39;t hurt.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Auto fill working intermittently</title><link>https://www.infopathdev.com:443/forums/thread/63633.aspx</link><pubDate>Thu, 27 Jan 2011 17:05:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63633</guid><dc:creator>dms.WebDev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63633.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=63633</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m&amp;nbsp;creating an&amp;nbsp;InfoPath 2007 form which I will publish to MOSS 2007 form library.&amp;nbsp; I have&amp;nbsp;two drop down lists&amp;nbsp;that connect to SQL database. The first drop down list auto fills several other text fields.&amp;nbsp; (e.g. Employee Name is driving field/drop down, and it auto-fills employee title, employee department, employee&amp;#39;s supervisor, supervisor&amp;#39;s title and so on). This works great.&amp;nbsp; I have a second drop down list that uses the same data connection and displays the same list of&amp;nbsp;Employee names and auto-fills&amp;nbsp;just one&amp;nbsp;text field with employee title only.&lt;/p&gt;
&lt;p&gt;To reiterate: I have two drop down lists that read from same data connection and display the same list of information: Employee Name.&amp;nbsp; One auto-fills several other text fields.&amp;nbsp; The other auto fills only one text field.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The problem:&lt;/strong&gt;&amp;nbsp; The &lt;strong&gt;second&amp;nbsp;&lt;/strong&gt;drop down (employee name) list &lt;strong&gt;does not auto fill it&amp;#39;s corresponding text field (title)&lt;/strong&gt;&amp;nbsp;when an employee name is selected &lt;strong&gt;IF &lt;/strong&gt;the first drop down list is selected first.&amp;nbsp; It works correctly if the second drop list selection is made before the first drop list selection.However this is not the way the form is set up and it wouldn&amp;#39;t make sense to rearrange the order of the drop down lists.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Do I need to make a new data connection to make this work?&lt;/p&gt;</description></item></channel></rss>