<?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: How to overcome the limit of items for Filtering</title><link>https://www.infopathdev.com:443/forums/thread/57109.aspx</link><pubDate>Tue, 20 Jul 2010 12:22:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57109</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57109.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=57109</wfw:commentRss><description>&lt;p&gt;This is kind of a hack, but you could use a &amp;quot;hidden&amp;quot; field (not displayed in the form) which serves as a temporary location to do some math.&lt;/p&gt;&lt;p&gt;my:tempfield = sum(Hours[Event = &amp;quot;A&amp;quot; or Event = &amp;quot;B&amp;quot; or Event = &amp;quot;C&amp;quot; or Event = &amp;quot;D&amp;quot; or 
Event = &amp;quot;E&amp;quot;])&lt;/p&gt;&lt;p&gt;my:destinationfield = my:tempfield + Hours[Event = &amp;quot;F&amp;quot;]&lt;/p&gt;</description></item><item><title>How to overcome the limit of items for Filtering</title><link>https://www.infopathdev.com:443/forums/thread/57095.aspx</link><pubDate>Mon, 19 Jul 2010 20:43:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57095</guid><dc:creator>MB_0844</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57095.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=57095</wfw:commentRss><description>I have a drop down with 12 items listed that are associated with a value in another field. Of those 12, I want to have a sum of the results for 6 of those items.

When I build a new field to display that sum, I can only build it to display a sum of 5 items because in the Specific Filter Conditions dialog box will not let me add more.

So my Formula looks like this - sum(Hours[Event = &amp;quot;A&amp;quot; or Event = &amp;quot;B&amp;quot; or Event = &amp;quot;C&amp;quot; or Event = &amp;quot;D&amp;quot; or Event = &amp;quot;E&amp;quot;])

So, how can I add a 6th item in the formula? I tried to manually enter the data but the formula would not work.

I am using InfoPath 2003

Thanks
Michael Burns</description></item></channel></rss>