<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Data connection validation rules while filling up a form</title><link>https://www.infopathdev.com:443/forums/thread/105823.aspx</link><pubDate>Wed, 16 Mar 2016 14:48:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105823</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105823.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=105823</wfw:commentRss><description>I would add a data connection to the list or library where the form submits. Don&amp;#39;t run the query on form load (that is a checkbox toward the end of the data connection wizard). Instead, once the user enters the vessel in the form, set the query field for the vessel name with the selected or entered vessel name and then run the query. You should be able to check the returned rows for anything where Visit Date is &amp;gt; or = today with -45 days added to it and show a message to the user (either in the form in a calculated value, or if this is a filler form, with a dialog box).</description></item><item><title>Data connection validation rules while filling up a form</title><link>https://www.infopathdev.com:443/forums/thread/105821.aspx</link><pubDate>Wed, 16 Mar 2016 14:09:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105821</guid><dc:creator>Antreas</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105821.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=105821</wfw:commentRss><description>&lt;p&gt;Dear All Good day,&lt;/p&gt;&lt;p&gt;I&amp;nbsp;have created an InfoPath&amp;nbsp;Form for the&amp;nbsp;users to&amp;nbsp;enter details on planned visits for vessels. All the entered records are available on the SharePoint List.&lt;/p&gt;&lt;p&gt;Lets say&amp;nbsp;that&amp;nbsp;we have the following entry on the sharepoint list:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;|&amp;nbsp;Vessel&amp;nbsp;Name |&amp;nbsp; Visit Date&amp;nbsp;&amp;nbsp; |&lt;/strong&gt;&lt;br /&gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;ABCED&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp; 01-10-2016 |&amp;nbsp;&lt;/p&gt;&lt;p&gt;Now the problem :)&lt;/p&gt;&lt;p&gt;Each vessel can have many planned visits, but for the same vessel,&amp;nbsp;if&amp;nbsp;the &lt;strong&gt;Visit Date&lt;/strong&gt;&amp;nbsp;entered is within a period of +45 days of any other Visit Date of the same vessel entered before, I just want to show&amp;nbsp;a notification on the list, NOT to refuse the entry to the saved.&lt;/p&gt;&lt;p&gt;Many thanks&amp;nbsp;in advanced.&lt;/p&gt;&lt;p&gt;-Antreas&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>