<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to limit available dates</title><link>https://www.infopathdev.com:443/forums/thread/92082.aspx</link><pubDate>Sun, 11 Aug 2013 05:51:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92082</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92082.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=92082</wfw:commentRss><description>&lt;p&gt;I would use a dropdown with a filter. You can set up a filter with multiple conditions.&lt;/p&gt;</description></item><item><title>How to limit available dates</title><link>https://www.infopathdev.com:443/forums/thread/92022.aspx</link><pubDate>Thu, 08 Aug 2013 15:16:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92022</guid><dc:creator>ringo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92022.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=92022</wfw:commentRss><description>Hi, 

I am new to InfoPath and am trying to build functionality where I can limit the dates that a datepicker control displays in an InfoPath form. Essentially what I need to do is to query a SharePoint list and only allow 2 entries for each day. 

If doing this from the SharePoint side I&amp;#39;d do this using a list event receiver on the ItemAdding event but I haven&amp;#39;t a clue how I would do this in InfoPath. 

I had thought about possibly creating a web service which would accept a date as a parameter and then only return the available slots for that day. Hopefully there is an easier way!</description></item></channel></rss>