<?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: Validate value comparing dates from same table</title><link>https://www.infopathdev.com:443/forums/thread/100935.aspx</link><pubDate>Wed, 28 Jan 2015 19:37:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100935</guid><dc:creator>Bre Huston</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100935.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=100935</wfw:commentRss><description>&lt;p&gt;Hello Nicolas.delcampom,&lt;/p&gt;&lt;p&gt;For this I would use a custom submit connection. By disabling the ribbon, you can add a button with custom events to your form. You&amp;#39;ll need 2 new data connections:&lt;/p&gt;&lt;p&gt;1. Submit connection to your Library (where the form submits)&lt;br /&gt;2. Receive data connection to the library (note, classroom, date,&amp;nbsp;start time and end time need to be promoted as columns)&lt;/p&gt;&lt;p&gt;On the button add a rule to set the query field of classroom&amp;nbsp;to the selection in the form, as well as the date. This should limit the entries to any entered. Then you&amp;#39;ll need to either display that data or have a calculated value that only shows if the returned information of time conflicts with the users selection. If there are no rows returned, or the time does not conflict the submit action will follow. &lt;/p&gt;&lt;p&gt;Hope that helps!&lt;br /&gt;Bre&amp;nbsp;&lt;/p&gt;</description></item><item><title>Validate value comparing dates from same table</title><link>https://www.infopathdev.com:443/forums/thread/100913.aspx</link><pubDate>Tue, 27 Jan 2015 17:57:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100913</guid><dc:creator>nicolas.delcampom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100913.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=100913</wfw:commentRss><description>&lt;p&gt;I have a SharePoint Custom List, that manages classrooms and the time when they are used (pretty much it schedules classes) and I need to validate that the classroom is not used on the time that is submitted.&lt;/p&gt;&lt;p&gt;The form has the following fields:&lt;/p&gt;&lt;p&gt;-Start,&amp;nbsp;End (date and time type of data)&lt;/p&gt;&lt;p&gt;-Classroom (Drop down list)&lt;/p&gt;&lt;p&gt;So, I need a rule on the classroom or submit button that displays&amp;nbsp;&amp;quot;Classroom is scheduled for that time, please select another one)&amp;nbsp;if the classroom is in use on that Schedule.&lt;/p&gt;&lt;p&gt;The thing is that I need to see first if&amp;nbsp;in the scheduled time there is another class&amp;nbsp;and then if there is a class, see if the classroom is used.&amp;nbsp;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>