<?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: How to write nested filter condition for data source</title><link>https://www.infopathdev.com:443/forums/thread/40829.aspx</link><pubDate>Tue, 21 Apr 2009 22:30:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40829</guid><dc:creator>kai41314</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40829.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=40829</wfw:commentRss><description>&lt;p&gt;Hi swathip, &lt;/p&gt;
&lt;p&gt;Thanks for you help.&lt;/p&gt;</description></item><item><title>Re: How to write nested filter condition for data source</title><link>https://www.infopathdev.com:443/forums/thread/40784.aspx</link><pubDate>Tue, 21 Apr 2009 12:14:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40784</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40784.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=40784</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can use the filter like this.&lt;/p&gt;
&lt;p&gt;my:field2 = &amp;quot;Active&amp;quot; and (my:field1 = &amp;quot;A&amp;quot; or my:field1 = &amp;quot;B&amp;quot;)&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;count(/my:myFields/my:group1/my:group2[my:field2 = &amp;quot;Active&amp;quot; and (my:field1 = &amp;quot;A&amp;quot; or my:field1 = &amp;quot;B&amp;quot;)])&lt;/p&gt;
&lt;p&gt;Here the group2 is repeating section and field1, fied2 are fields in group2.&lt;/p&gt;</description></item><item><title>How to write nested filter condition for data source</title><link>https://www.infopathdev.com:443/forums/thread/40777.aspx</link><pubDate>Tue, 21 Apr 2009 05:19:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40777</guid><dc:creator>kai41314</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40777.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=40777</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I am trying to apply the the following filter confition&amp;nbsp;for a data source in my InfoPath form template:&lt;/p&gt;
&lt;p&gt;(field1 = &amp;quot;A&amp;quot; OR field1 = &amp;quot;B&amp;quot; ) and field2 = &amp;quot;Active&amp;quot;&lt;/p&gt;
&lt;p&gt;It seems that it is not possible to&amp;nbsp;use nested ccondition&amp;nbsp;in this&amp;nbsp;case.&lt;/p&gt;
&lt;p&gt;Can anyone give ne some hints about how to achieve this?&lt;/p&gt;
&lt;p&gt;Thanks for your help~~&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>