<?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: filtering for unique values</title><link>https://www.infopathdev.com:443/forums/thread/2506.aspx</link><pubDate>Thu, 08 Jun 2006 14:36:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2506</guid><dc:creator>nhshelp</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2506.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2506</wfw:commentRss><description>Thanks for yuo rhelp. I've managed to get this to work now - looks like I had an extra erroneous entry in my formula!!! Ooooppps. must remember- keep eyes open.&lt;br /&gt;&lt;br /&gt;Anyway thanks for your time and efforts! Much appreciated</description></item><item><title>Re: filtering for unique values</title><link>https://www.infopathdev.com:443/forums/thread/2505.aspx</link><pubDate>Wed, 07 Jun 2006 11:41:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2505</guid><dc:creator>shailaja</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2505.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2505</wfw:commentRss><description>Hello, &lt;br /&gt;   Did you differentiate fields in Main Datasource to fields in Secondary Datasource as in How To? I mean fields in Main Datasource are started with Capital letter where as fields in Secondary Datasource are started with Small letter. If you have differentiated in the same way then formula &lt;br /&gt;not(.=../preceding-sibling::d:wgTest2[@Area=current()/my:wgdata2/my:Area]/@Site) should be changed to &lt;br /&gt;not(.=../preceding-sibling::d:wgTest2[@Area=current()/my:wgdata2/my:Area]/@site)&lt;br /&gt;&lt;br /&gt;Hope this helps!&lt;br /&gt;</description></item><item><title>Re: filtering for unique values</title><link>https://www.infopathdev.com:443/forums/thread/2504.aspx</link><pubDate>Wed, 07 Jun 2006 09:29:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2504</guid><dc:creator>nhshelp</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2504.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2504</wfw:commentRss><description>Hi, &lt;br /&gt;&lt;br /&gt;thanks for that - I have set up the filters already  as you have suggested - these work fine. The problem is with duplicate entries appearing. For instance when I select the Area, it gives me the relevant site, but there are duplicate entries, so I can see Site A twice, site b three times etc. &lt;br /&gt;I have used the guide from here &lt;br /&gt;&lt;br /&gt;&lt;a href='http://www.infopathdev.com/howto/tutorials/default.aspx?i=4e038a7f3f5b443bbe4db49f86d95fba' target='_blank' title='http://www.infopathdev.com/howto/tutorials/default.aspx?i=4e038a7f3f5b443bbe4db49f86d95fba'&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;/a&gt;&lt;br /&gt;&lt;br /&gt;and used the instructions for FILTERING LISTS FOR UNIQUE VALUES however I cant get the code to work&lt;br /&gt;&lt;br /&gt; have tried creating a Uniqueness filter, using the following expression&lt;br /&gt;not(.=..preceding-sibling::d:wgTest2/@Area) - This works fine for the Area entries - no duplicates displayed.&lt;br /&gt;However when I try to expand the filter I can't get tit to work.&lt;br /&gt;I've used the following expression on the Site data&lt;br /&gt;&lt;br /&gt;not(.=../preceding-sibling::d:wgTest2[@Area=current()/my:wgdata2/my:Area]/@Site)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks again for you r help&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: filtering for unique values</title><link>https://www.infopathdev.com:443/forums/thread/2503.aspx</link><pubDate>Wed, 07 Jun 2006 07:56:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2503</guid><dc:creator>shailaja</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2503.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2503</wfw:commentRss><description>Hello,&lt;br /&gt;Welcome to Forums. Did you add filter to site drop down so that the options in the Site drop-down list are filtered based on the selected Area. &lt;br /&gt;In order to filter the Site drop-down list based on the selected Area follow this steps:&lt;br /&gt; &lt;br /&gt;1.	Click Filter Data for site dropdown, and then click Add.&lt;br /&gt;2.	In the Specify Filter Conditions dialog box, select Select A Field Or Group from the first drop-down list.&lt;br /&gt;3.	In the Select A Field Or Group dialog box, select site, and then click OK.&lt;br /&gt;4.	In the second drop-down list, select Is Equal To.&lt;br /&gt;5.	In the third drop-down list box, select Select A Field Or Group.&lt;br /&gt;6.	In the Select A Field Or Group dialog box, select Main from the Data Source drop-down list, select site, and then click OK.&lt;br /&gt;7.	Click OK four times to close all open dialog boxes.&lt;br /&gt;&lt;br /&gt;Hope this helps!&lt;br /&gt;</description></item><item><title>filtering for unique values</title><link>https://www.infopathdev.com:443/forums/thread/1331.aspx</link><pubDate>Mon, 05 Jun 2006 11:26:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1331</guid><dc:creator>nhshelp</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1331.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1331</wfw:commentRss><description>Hello, &lt;br /&gt;&lt;br /&gt;I'm  having a real problem andhope some-one can help. I've had a look through the forums and how to pages, and tried some of th eoptons, but can't seem to fix my problem.&lt;br /&gt;&lt;br /&gt;Anyway here it is.&lt;br /&gt;&lt;br /&gt;I'm creating a form that allows people to submit information to create an account.&lt;br /&gt;I have an Access database called 'wgTest2' which has entries under the following &lt;br /&gt;Area, Site,Team, Name, signatory and e-mail.&lt;br /&gt;&lt;br /&gt;each of these is populated with information - some of it is duplicated.&lt;br /&gt;I have created drop down boxes for each data source so that I can pull the information off the database - this works fine!&lt;br /&gt;I have created a filter, so that if I choose an Area, I can see the sites that relate  to that area. This also works fine!&lt;br /&gt;My problem is that there are duplicate entries, so I f I choose an Area, I see duplicate entries in the Site field.&lt;br /&gt;I have tried creating a Uniqueness filter, using the following expression&lt;br /&gt;not(.=..preceding-sibling::d:wgTest2/@Area) - This works fine for the Area entries - no duplicates displayed.&lt;br /&gt;However when I try to expand the filter I  can't get tit to work.&lt;br /&gt;I've used the following expression on the Site data&lt;br /&gt;&lt;br /&gt;not(.=../preceding-sibling::d:wgTest2[@Area=current()/my:wgdata2/my:Area]/@Site)&lt;br /&gt;&lt;br /&gt;However it doesn't filter out the duplicates, I can still see them.&lt;br /&gt;&lt;br /&gt;Any ideas?????&lt;br /&gt;&lt;br /&gt;thanks!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>