<?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: Repeating table with date fields issues</title><link>https://www.infopathdev.com:443/forums/thread/85682.aspx</link><pubDate>Sun, 30 Dec 2012 07:24:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85682</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85682.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=85682</wfw:commentRss><description>&lt;p&gt;Have you tried using the current() function, so if DisposalDate is less than current()/AcquisitionDate...&lt;/p&gt;</description></item><item><title>Repeating table with date fields issues</title><link>https://www.infopathdev.com:443/forums/thread/83215.aspx</link><pubDate>Thu, 04 Oct 2012 11:33:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83215</guid><dc:creator>jiangshouying</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83215.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83215</wfw:commentRss><description>&lt;p&gt;I have 4 date fields in a repeating table named Acquisition Date, Acquisition Input Date, Disposal Date and Disposal Input Date.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Now I need to apply some rules on the date: &lt;/p&gt;&lt;p&gt;1. Acquisition Date and Acquisition Input Date is mandatory fields - Set in controls properties - Done&lt;/p&gt;&lt;p&gt;2. Acquisition Input Date should greater than or equal to Acquisition Date - Create an Action rule, if not match, switch to a view - Done&lt;/p&gt;&lt;p&gt;3. If Disposal Date is not blank, Disposal Date should greater than Acquisition Date&lt;/p&gt;&lt;p&gt;4. Disposal Date should less than or equal to Disposal Input Date&lt;/p&gt;&lt;p&gt;Example:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Repeating Table Line 1:&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Acquisition Date:02/10/2012&lt;/p&gt;&lt;p&gt;Acquisition Input Date: 03/10/2012&lt;/p&gt;&lt;p&gt;Disposal Date:(blank)&lt;/p&gt;&lt;p&gt;Disposal Input Date: (blank)&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Repeating Table Line 2:&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Acquisition Date:29/09/2012&lt;/p&gt;&lt;p&gt;Acquisition Input Date: 30/09/2012&lt;/p&gt;&lt;p&gt;Disposal Date:01/10/2012&lt;/p&gt;&lt;p&gt;Disposal Input Date: 03/10/2012&lt;/p&gt;&lt;p&gt;For the example showed above, this should pass the rules, but InfoPath will check all Disposal Dates and all Acquisition Dates, Disposal Date (Line 2) is less than Acquisition Date (Line 1), and form will show error message.&lt;/p&gt;&lt;p&gt;My question is how can I let form template to check date in the same line, no need to check all dates.&lt;/p&gt;&lt;p&gt;Hope you guys can give me some advise, thanks.&lt;/p&gt;</description></item></channel></rss>