<?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: Compound filter on drop-down list.</title><link>https://www.infopathdev.com:443/forums/thread/71472.aspx</link><pubDate>Thu, 27 Oct 2011 20:13:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71472</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71472.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71472</wfw:commentRss><description>&lt;p&gt;Never mind I figured it out.&amp;nbsp; The State = State filter needs to be &amp;quot;or&amp;quot;&amp;#39;d at the end of the other ones.&amp;nbsp; It works great now.&amp;nbsp; Thanks.&amp;nbsp; I owe you a beer. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Compound filter on drop-down list.</title><link>https://www.infopathdev.com:443/forums/thread/71471.aspx</link><pubDate>Thu, 27 Oct 2011 20:02:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71471</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71471.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71471</wfw:commentRss><description>&lt;p&gt;That works great by itself, but if the form field does not equal DC, I need it to just match states (State = State).&amp;nbsp;&amp;nbsp; When I add State = State at the end of the filter, it just uses that filter only.&lt;/p&gt;</description></item><item><title>Re: Compound filter on drop-down list.</title><link>https://www.infopathdev.com:443/forums/thread/71470.aspx</link><pubDate>Thu, 27 Oct 2011 19:42:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71470</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71470.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71470</wfw:commentRss><description>&lt;p&gt;There&amp;#39;s a problem with your logic.&amp;nbsp; What you need is&lt;/p&gt;
&lt;p&gt;FormFieldState = &amp;quot;DC&amp;quot; AND (SharePointState = &amp;quot;DC&amp;quot; OR SharePointState =&amp;nbsp;&amp;quot;MD&amp;quot; OR SharePointState = &amp;quot;VA&amp;quot;)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;But since AND has a higher precedence than OR, you can&amp;#39;t just fix this by switching two of the ANDs with OR.&amp;nbsp; Your options are:&lt;/p&gt;
&lt;p&gt;Change the OR part to be one expression:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;FormFieldState = &amp;quot;DC&amp;quot; AND&lt;/p&gt;
&lt;p&gt;SharePointState = &amp;quot;DC&amp;quot; OR SharePointState =&amp;nbsp;&amp;quot;MD&amp;quot; OR SharePointState = &amp;quot;VA&amp;quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Or make it three separate filters&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;FormFieldState = &amp;quot;DC&amp;quot; AND&lt;/p&gt;
&lt;p&gt;SharePointState = &amp;quot;DC&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;FormFieldState = &amp;quot;DC&amp;quot; AND&lt;/p&gt;
&lt;p&gt;SharePointState = &amp;quot;MD&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;FormFieldState = &amp;quot;DC&amp;quot; AND&lt;/p&gt;
&lt;p&gt;SharePointState = &amp;quot;VA&amp;quot;&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Compound filter on drop-down list.</title><link>https://www.infopathdev.com:443/forums/thread/71467.aspx</link><pubDate>Thu, 27 Oct 2011 19:35:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71467</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71467.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71467</wfw:commentRss><description>&lt;p&gt;I have a drop-down that pulls venue information from a sharepoint list.&amp;nbsp; Currently it is filtered to only pull in venues where @ State = State (another field in my form).&amp;nbsp;&amp;nbsp; This works fine.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;The problem is, in some areas, say Washington, DC, we may need a bigger radius than just state.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;So I tried adding more filter to it&lt;/p&gt;
&lt;p&gt;Sharepoint State = Form Field State (the basic filter) or&lt;/p&gt;
&lt;p&gt;Form Field State = &amp;quot;DC&amp;quot; and&lt;/p&gt;
&lt;p&gt;SharePoint State = &amp;quot;DC&amp;quot; and&lt;/p&gt;
&lt;p&gt;SharePoint State = &amp;quot;MD&amp;quot; and&lt;/p&gt;
&lt;p&gt;SharePoint State = &amp;quot;VA&amp;quot;&lt;/p&gt;
&lt;p&gt;But it still only uses the basic filter (State = State)&lt;/p&gt;
&lt;p&gt;Any suggestions or workarounds?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>