<?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: cascading drop downs with unique filter</title><link>https://www.infopathdev.com:443/forums/thread/10575.aspx</link><pubDate>Thu, 19 Oct 2006 19:54:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10575</guid><dc:creator>trufooser</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10575.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10575</wfw:commentRss><description>Thanks, but so far, I am unable to get that to work.  I'm unsure of the difference between 'my:' and 'd:', and just for $h|7$ and giggles i tried @.  None of the combinations worked.  The only filter that did work was the unique value filter.</description></item><item><title>Re: cascading drop downs with unique filter</title><link>https://www.infopathdev.com:443/forums/thread/10574.aspx</link><pubDate>Thu, 19 Oct 2006 04:39:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10574</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10574.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10574</wfw:commentRss><description>Hi Trufooser,&lt;br /&gt;&lt;br /&gt;Can you try below filter once.&lt;br /&gt; &lt;br /&gt;not(. = ../preceding-sibling::d:LookUp[@Type = current()/my:Type[@Area = current()/my:Area[@RESULTS&lt;br /&gt; = current()/my:RESULTS]]])&lt;br /&gt;&lt;br /&gt;In above filter @Type, @Area, @RESULTS nodes from secondary.</description></item><item><title>cascading drop downs with unique filter</title><link>https://www.infopathdev.com:443/forums/thread/5880.aspx</link><pubDate>Tue, 17 Oct 2006 17:46:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5880</guid><dc:creator>trufooser</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5880.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5880</wfw:commentRss><description>I  have several cascading drop down boxes, all dependent on the previous selection.  The problem is, the filters are not working properly.  Below are what the cascading choices look like in the DB:&lt;br /&gt;&lt;br /&gt;TYPE    AREA     RESULTS&lt;br /&gt;&lt;br /&gt;MRI  |  knee  |  normal&lt;br /&gt;MRI  |  knee  |  abnormal&lt;br /&gt;xray |  knee  |  normal&lt;br /&gt;xray |  knee  |  abnormal&lt;br /&gt;&lt;br /&gt;this will cycle through a bunch of different body parts as well as other things.&lt;br /&gt;&lt;br /&gt;I have 3 filters in place for the results node.  The first filter filters the type, the second filter does the area, and the final filter is a unique record filter.  &lt;br /&gt;&lt;br /&gt;Type(from secondary) = current()/@Type&lt;br /&gt;Area(from secondary) = current()/@Area&lt;br /&gt;not(. = ../preceding-sibling::d:LookUp/@Type)&lt;br /&gt;&lt;br /&gt;Now, using my vulcan logic, I thought the filters would work in squential order, ie, first, it would take only records passing the Type filter, then from that pool, take only the records passing the Area filter, then finally applying the unique record filter.  However, this is not the case.&lt;br /&gt;&lt;br /&gt;It seems to perform the filter conditions simultaneously.  Using just the records from above, if I were to select MRI in the Type DD, everything would be hunkey dorey, I would be able to continue on normally.  Only one option for knee would appear in the Area DD, and I would be able to select a Result.  &lt;br /&gt;&lt;br /&gt;However, if I were to select xray, because it falls after MRI in the database, the area DD List would contain no choices.  I just dont understand WHY it does that.  So then I looked around and found these two resources:&lt;br /&gt;&lt;br /&lt;a target="_blank" href=http://infopathdev.com/forums/topic.asp?TOPIC_ID=2762&amp;SearchTerms=cascading&gt;http://infopathdev.com/forums/topic.asp?TOPIC_ID=2762&amp;SearchTerms=cascading&lt;/a&gt;,dropdown&lt;br /&gt;&lt;br /&gt;and&lt;br /&gt;&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/howto/tutorials/default.aspx?i=075c4e8e56db4fa5bd63615b712c0d91&gt;http://www.infopathdev.com/howto/tutorials/default.aspx?i=075c4e8e56db4fa5bd63615b712c0d91&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;They both talk about putting additional filters inside a filter statement.  &lt;br /&gt;&lt;br /&gt;The tutorial suggests this method&lt;br /&gt;not(. = ../preceding-sibling::Vehicle[@year = current()/my:Year]/@make)&lt;br /&gt;&lt;br /&gt;Where the thread suggests doign this&lt;br /&gt;/dfs:myFields/dfs:dataFields/dfs:Form_Data/@Category[not(. = ../preceding-sibling::dfs:Form_Data/@Category)]&lt;br /&gt;&lt;br /&gt;I have been completely and utterly unnsuccessful in implementing a filter inside brackets.  Any help would be greatly appreciated.</description></item></channel></rss>