<?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: Unique Values in Drop Down</title><link>https://www.infopathdev.com:443/forums/thread/18353.aspx</link><pubDate>Mon, 22 Aug 2005 19:06:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18353</guid><dc:creator>crampto</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18353.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18353</wfw:commentRss><description>Sorry for the confusion.  I have read the article you suggested and have attempted to follow the instruction but I end up with the same result.&lt;br /&gt;&lt;br /&gt;I'm using a seconday data source which is called Commodities and provides the link to the Oasis_Commodities Sharepoint List which contains the columns Category and Commodity.&lt;br /&gt;&lt;br /&gt;I click on the on the x-path button next to Entries, expand Oasis_Commodities, and select Category.&lt;br /&gt;&lt;br /&gt;I then click on Filter Data and select Add.&lt;br /&gt;&lt;br /&gt;I change "Category" to "The expression" and enter:&lt;br /&gt;&lt;br /&gt;not(.=../preceding-sibling::Oasis_Commodities/@Category)&lt;br /&gt;&lt;br /&gt;and click OK four times to close all boxes.&lt;br /&gt;&lt;br /&gt;However, when I preview the form, I'm still seeing duplicate values.&lt;br /&gt;&lt;br /&gt;Thanks again for your help.</description></item><item><title>Re: Unique Values in Drop Down</title><link>https://www.infopathdev.com:443/forums/thread/18352.aspx</link><pubDate>Fri, 19 Aug 2005 18:09:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18352</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18352.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18352</wfw:commentRss><description>It sounds like you are not working a repeating cascade. Have you read this how-to article:&lt;br /&gt;Create a Cascading List from a Flat Data Source&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/howto/tutorials/default.aspx?i=4e038a7f3f5b443bbe4db49f86d95fba&gt;http://www.infopathdev.com/howto/tutorials/default.aspx?i=4e038a7f3f5b443bbe4db49f86d95fba&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This walks you through exactly what you are trying to do.&lt;br /&gt;&lt;br /&gt;The filter you describe above will not work because you are using nodes from the main data source (i.e. my:group2, etc.) The filter needs to filter the secondary data source (SP list).&lt;br /&gt;&lt;br /&gt;You should be able to directly apply the filtering techniques in this how-to article to what you are trying to do.&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]&lt;br /&gt;InfoPath Dev</description></item><item><title>Unique Values in Drop Down</title><link>https://www.infopathdev.com:443/forums/thread/18309.aspx</link><pubDate>Fri, 19 Aug 2005 17:45:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18309</guid><dc:creator>crampto</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18309.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18309</wfw:commentRss><description>I apologize if this is a redundant question.  I've read several other posts on this subject, but I still can't quite find one that fits my scenario or make any of the solutions work for me.&lt;br /&gt;&lt;br /&gt;I have a drop down in my form which gets its values from a list on the sharepoint.  The data is essentiall a flat data source with two columns; Category and Commodity.  What I would like to implement is a cascading drop down so that the user chooses a Category and then the specific commodity for the category.  My issue is, that I can't seem to get the Category drop down to show only unique values.&lt;br /&gt;&lt;br /&gt;I have a "receive" data connection to the list so that it is a secondary data source in the form.&lt;br /&gt;&lt;br /&gt;I go to the properties of the drop down box and select "Look up values in a data connection to a database, Web service, file, or SharePoint library or list.&lt;br /&gt;&lt;br /&gt;I select the data connection and click on the xpath next to entries.&lt;br /&gt;&lt;br /&gt;I expand the "dataFields" under myFields so that the List name and fields show.&lt;br /&gt;&lt;br /&gt;I've tried applying the filter at both the List Name level and at the specific field.  Neither seems to work.&lt;br /&gt;&lt;br /&gt;I've tried using just "not(.=../preceding::my:group2/my:field2)" and a few other variations but either I still get the repeating values or I get nothing.&lt;br /&gt;&lt;br /&gt;I'd really appreciate some help on this as I am stumped.&lt;br /&gt;</description></item></channel></rss>