<?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: Drill down with secondary source</title><link>https://www.infopathdev.com:443/forums/thread/4199.aspx</link><pubDate>Thu, 08 Mar 2007 14:46:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4199</guid><dc:creator>stumbler</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4199.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=4199</wfw:commentRss><description>nukkumatti,&lt;br /&gt;&lt;br /&gt;I solved the problem in another way: I've added the department to the main data source.&lt;br /&gt;No I can populate each dropbox like I want.&lt;br /&gt;&lt;br /&gt;Anyway thanks for your help. I may become a fan of you, but I don't think I will ever become a fan of Motörhead.&lt;br /&gt;Cheers!</description></item><item><title>Re: Drill down with secondary source</title><link>https://www.infopathdev.com:443/forums/thread/4198.aspx</link><pubDate>Wed, 07 Mar 2007 15:14:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4198</guid><dc:creator>stumbler</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4198.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=4198</wfw:commentRss><description>My datasources:&lt;br /&gt;/dfs:myFields/dfs:dataFields/d:ORGANISATIONUNIT contains information concerning the departments&lt;br /&gt;Fields OrgUnitNo,OrgUnitDesc,Department,Unit&lt;br /&gt;/dfs:myFields/dfs:dataFields/d:EMPLOYEE contains information concerning the employees&lt;br /&gt;Field EmployeeID, EmployeeName, OrgUnitNo&lt;br /&gt;&lt;br /&gt;My first dropdownbox is bound to the departments datasource.&lt;br /&gt;The second is bound to the main data source entry employeeID.&lt;br /&gt;I work in this way, because my main connection does not contain a department and I can't figure out how to make it possible to select a department first.&lt;br /&gt;Or can you point out a better way to get the desired result.&lt;br /&gt;&lt;br /&gt;I already want to thank you for your patience. I can imagine that you can find better pupils than I am :).&lt;br /&gt;&lt;br /&gt;Kind regards  &lt;br /&gt;</description></item><item><title>Re: Drill down with secondary source</title><link>https://www.infopathdev.com:443/forums/thread/4197.aspx</link><pubDate>Wed, 07 Mar 2007 14:53:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4197</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4197.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=4197</wfw:commentRss><description>Okay regarding your second question i would use a third drop down list to keep things simble. set conditions to both (2nd and 3rd) ddl, hide one when your 1st ddl is blank and the other when it's not blank. for your 3rd you can then just use your secondary datasource.&lt;br /&gt;&lt;br /&gt;Back to your first problem could you please post the structure of your secondary datasource, is it only one or two ?&lt;br /&gt;</description></item><item><title>Re: Drill down with secondary source</title><link>https://www.infopathdev.com:443/forums/thread/4196.aspx</link><pubDate>Wed, 07 Mar 2007 14:13:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4196</guid><dc:creator>stumbler</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4196.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=4196</wfw:commentRss><description>What I have so far:&lt;br /&gt;One Dropdownbox getting the different Departments&lt;br /&gt; - bound to (@orgunitno(ActiveEmployees))&lt;br /&gt; - based on seconday connection /dfs:myFields/dfs:dataFields/d:ORGANISATIONUNIT&lt;br /&gt; - both display name and value are set to @orgunitDescr&lt;br /&gt;One Dropdownbox getting the employees&lt;br /&gt; - bound to @employeeID (main data source)&lt;br /&gt; - based on secondary connection /dfs:myFields/dfs:dataFields/d:EMPLOYEE[@OrgUnitDescr = current()/my:OrgUnitDescr]&lt;br /&gt; - display name = @EmployeeName, value = @employeeID&lt;br /&gt;&lt;br /&gt;But the second dropdown doesn't get populated. And once again, beeing a newbie, I have no clue.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Concerning the second question, Is it possible that when no department is selected, that all employees are shown?</description></item><item><title>Re: Drill down with secondary source</title><link>https://www.infopathdev.com:443/forums/thread/4195.aspx</link><pubDate>Wed, 07 Mar 2007 12:22:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4195</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4195.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=4195</wfw:commentRss><description>Hello again Mr Belgium,&lt;br /&gt;&lt;br /&gt;you are actually not that far away from me. sitting here in Luxembourg, but anyway played around a bit and here is the solution for your first question:&lt;br /&gt;&lt;br /&gt;that you can easier follow here my datasource structure:&lt;br /&gt;&lt;br /&gt;dfs:myFields/dfs:dataFields/d:tblMachines&lt;br /&gt;within this data source I have @Expr1 and @Expr2&lt;br /&gt;&lt;br /&gt;Now double click your frist dropdown list and select "look up values from secondary....".&lt;br /&gt;Under entries select your repeating node (in my case the path you can see above)&lt;br /&gt;As value and display name select "department" in my case Expr1.&lt;br /&gt;&lt;br /&gt;Now do the same with your second drop down list and select "employeeID" (in my case Expr2) as value and display name.&lt;br /&gt;Now click on the button next to Entries of your 2nd DDL and select "Filter Data"&lt;br /&gt;In the first drop down list of the filter options select "department" in the second "is equal to" and in the third select "use formula" and write current()/my:nameOfYourFirstDDL.&lt;br /&gt;Now take care the system propably switched back the value and display name of your second drop down list form department to employeeID, so you have to change this one more time.&lt;br /&gt;&lt;br /&gt;That is actually it, just one more thing you need to take care of:&lt;br /&gt;&lt;br /&gt;Double click your first drop down list and select Rules, click add, click add action, select Set A Fields Value, select your second drop down list as the field and leave the last row blank. like this you can make sure that you always have on the employees of the last selected departments in your second ddl.&lt;br /&gt;&lt;br /&gt;Hope this helps.&lt;br /&gt;&lt;br /&gt;Could you please describe your other question a bit more detailed.&lt;br /&gt;</description></item><item><title>Drill down with secondary source</title><link>https://www.infopathdev.com:443/forums/thread/1898.aspx</link><pubDate>Wed, 07 Mar 2007 09:17:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1898</guid><dc:creator>stumbler</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1898.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1898</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;Since you experts solved my first question (thanks nukkumatti), I go for another one.&lt;br /&gt;&lt;br /&gt;I have a secondary source (SQL table) containing EmployeeID, EmployeeInfo and Department.&lt;br /&gt;I'd like to populate 1 dropdownbox with the departments en than drill down to the employees in that department.&lt;br /&gt;1) How do I populate the second dropdown with all employees from the 1 selected department?&lt;br /&gt;2) Is it possible to have a 'Show all' in the departments?&lt;br /&gt;&lt;br /&gt;There is no department present in my main source, only the EmployeeID&lt;br /&gt;&lt;br /&gt;Thank in advance for any given advice. (Infopath 2003)</description></item></channel></rss>