<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: filter data source from code</title><link>https://www.infopathdev.com:443/forums/thread/29729.aspx</link><pubDate>Wed, 25 Jun 2008 11:08:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29729</guid><dc:creator>bogdantc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29729.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=29729</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Anuma,&lt;/p&gt;&lt;p&gt;&amp;nbsp;In that post is described the functionality of the &amp;quot;Show only entries with unique display name&amp;quot; check box which unfortunately is not helping me. Remaining at that example if I select a Year when I choose Insert item the next repeating row must not contain a dropdownlist with the previous Year values.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;From what I see I really need to access and iterate through each item of the dropdrownlist and also to access the external datasource items. I am thinking of creating an array with datasource valid items and to bind them manually to the dropdownlist. I am somehow confused about how this should really look at the end cause I see no programmable solution :( &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: filter data source from code</title><link>https://www.infopathdev.com:443/forums/thread/29726.aspx</link><pubDate>Wed, 25 Jun 2008 10:22:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29726</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29726.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=29726</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Please verify the &amp;quot;Add a uniqueness filter to the &lt;em&gt;Year&lt;/em&gt; drop-down list:&amp;quot; condition in the following link.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/greg/archive/2005/07/14/Create-a-Repeating-Cascading-List-from-a-Flat-Data-Source.aspx"&gt;http://www.infopathdev.com/blogs/greg/archive/2005/07/14/Create-a-Repeating-Cascading-List-from-a-Flat-Data-Source.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>filter data source from code</title><link>https://www.infopathdev.com:443/forums/thread/29724.aspx</link><pubDate>Wed, 25 Jun 2008 09:42:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29724</guid><dc:creator>bogdantc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29724.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=29724</wfw:commentRss><description>&lt;p&gt;hi all,&lt;/p&gt;

&lt;p&gt;i already have the feeling that i am pushing the limits of InfoPath way beyond it&amp;#39;s designers imagination but unfortunately i really have to do it ...&lt;/p&gt;

&lt;p&gt;i have the followings:&lt;/p&gt;

&lt;p&gt;1. one external data source let&amp;#39;s say : item 1, item 2, item 3 (and many more items if you want)&lt;/p&gt;

&lt;p&gt;2. one repeating table with a dropdownlist in it and that dropdownlist is bound to my external data source.&lt;/p&gt;

&lt;p&gt;the problem: every time i insert a new item in the repeating table i want the dropdownlist to contain the values that were not previously selected. i still did not figure it out how should i treat a change of the first item after the second one was selected ....&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;a short example (&lt;span style="font-weight:bold;"&gt;later edit&lt;/span&gt;: what is bellow should have been 2 dropdownlists):&amp;nbsp; &lt;br /&gt;&lt;/p&gt;
&lt;div&gt;
&lt;table&gt;

&lt;tr&gt;
&lt;td&gt;Item 1&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td&gt;Item 2Item 3&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;</description></item></channel></rss>