<?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: Using Count() function with a filter</title><link>https://www.infopathdev.com:443/forums/thread/104064.aspx</link><pubDate>Mon, 21 Sep 2015 13:23:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104064</guid><dc:creator>Sheila</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104064.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104064</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank you Hillary. You helped me resolve the issue by just adding the COUNT() in the formula, but also telling me to add the query. You&amp;#39;re the best!&lt;/p&gt;</description></item><item><title>Re: Using Count() function with a filter</title><link>https://www.infopathdev.com:443/forums/thread/104007.aspx</link><pubDate>Thu, 17 Sep 2015 18:26:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104007</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104007.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104007</wfw:commentRss><description>Right, that returns the items that match. Then you use the count function to count them....</description></item><item><title>Re: Using Count() function with a filter</title><link>https://www.infopathdev.com:443/forums/thread/104006.aspx</link><pubDate>Thu, 17 Sep 2015 17:44:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104006</guid><dc:creator>Sheila</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104006.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104006</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;That returns each item but not a  count. I only need to know how many records/list items currently exist with that date.&lt;/p&gt;</description></item><item><title>Re: Using Count() function with a filter</title><link>https://www.infopathdev.com:443/forums/thread/104005.aspx</link><pubDate>Thu, 17 Sep 2015 17:21:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104005</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104005.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104005</wfw:commentRss><description>If you set the query field in your Detention List data connection to the selected date, then execute the query, you should get back just the rows that match. No need to filter in your count formula. :)</description></item><item><title>Using Count() function with a filter</title><link>https://www.infopathdev.com:443/forums/thread/104001.aspx</link><pubDate>Thu, 17 Sep 2015 16:20:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104001</guid><dc:creator>Sheila</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104001.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104001</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I am sure that this is probably SO easy but I&amp;#39;m not a programmer and always have problems with syntax in a formula.&lt;/p&gt;&lt;p&gt;(all is based on SharePoint Online&amp;nbsp;and InfoPath 2013)&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have a field in a form&amp;nbsp;with a display name of &amp;nbsp;&amp;quot;Detention Date Requested&amp;quot; (actual name: &amp;quot;DetentionDate&amp;quot;).&lt;/p&gt;&lt;p&gt;I&amp;nbsp;want the user to put in the Detention Date Requested, click on a button called &amp;quot;Check if Date is Available&amp;quot; where the button actually causes the action of going out to the list &amp;quot;Detention List 2015-2015&amp;quot;, which I already have the data connection,&amp;nbsp;counting the dates that match the date the user just entered and placing that number into a box where it now looks to see the value and if&amp;nbsp;=25 gives a validation error that there is no more space available on this day.&lt;/p&gt;&lt;p&gt;So in essence (bad syntax here I know), when the button is clicked the formula is something like this:&lt;/p&gt;&lt;p&gt;count&amp;nbsp;(DetentionDate)where(Detention Date Requested)=(DetentionDate) and return the number&lt;/p&gt;</description></item></channel></rss>