<?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: Need to build an Expression to filter more than 5 items</title><link>https://www.infopathdev.com:443/forums/thread/53084.aspx</link><pubDate>Wed, 24 Mar 2010 15:09:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53084</guid><dc:creator>NateHarris</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53084.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=53084</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;NVM, I figured it out right after I sent this.&amp;nbsp; I just took the expression that was built and stuffed into the List name and added all my addl attributes to the existing OR functions.&amp;nbsp; Suhweet!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Need to build an Expression to filter more than 5 items</title><link>https://www.infopathdev.com:443/forums/thread/53083.aspx</link><pubDate>Wed, 24 Mar 2010 14:53:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53083</guid><dc:creator>NateHarris</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53083.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=53083</wfw:commentRss><description>&lt;p&gt;Hey all,&lt;/p&gt;&lt;p&gt;I need to build an expression in my form that will allow me to filter more than the 5 criterion that the GUI lets you do by default.&amp;nbsp; So here&amp;#39;s the situation: I have a Form in another library for Projects and I assign Resource to that project, and I can assign up to 5 names (currently) to that form.&amp;nbsp; I then have another form that is a Status Report form that is used by those people while assigned to the Project. Currently I can only assign 2 resources to the project because of the InfoPath GUI limitations because I have to filter on Projects that are not Closed and then a Resource name.&amp;nbsp; So in my Status Report form I end up with:&lt;/p&gt;&lt;p&gt;Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Not Equal to &amp;nbsp; Closed &amp;nbsp;&amp;nbsp; AND&lt;/p&gt;&lt;p&gt;ResourceAssigned&amp;nbsp;&amp;nbsp;&amp;nbsp; EqualTo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ResourceName&amp;nbsp; OR&lt;/p&gt;&lt;p&gt;Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Not Equal to &amp;nbsp; Closed &amp;nbsp;&amp;nbsp; AND&lt;/p&gt;&lt;p&gt;Resouce2Assigned&amp;nbsp; EqualTo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ResourceName&lt;/p&gt;&lt;p&gt;(Where Project, ResourceAssigned and Resource2Assigned is pulled from the Project List).&amp;nbsp; And then I run out of the ability to add more filter criteria.&amp;nbsp; Therefore I assume I could use an Expression and encapsulate both criteria into a single filter then using OR&amp;#39;s I could have 5 resources assigned, right?&amp;nbsp; however, I don&amp;#39;t really understand how you build those expressions. &amp;nbsp;&lt;/p&gt;&lt;p&gt;So I apologize if there is a place where I should have already read this, but I haven&amp;#39;t been able to find it as of yet.&amp;nbsp; If I need to RTFM I will gladly do so if you point me to TFM, or if you have an idea on how to build them, ALL help is greatly appreciated.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>