<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Putting a constraint on a date field in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/putting-a-constraint-on-a-date-field/m-p/795125#M2330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We do use editor tracking, but this feature class will be edited by others at different times so I can't use that as an inspection date. &amp;nbsp;Hence the separate attribute for that. &amp;nbsp;I think you are right that Collector might not be able to pass through the error if I constrain it on the database side, I imagine it probably would cause issues there. &amp;nbsp;I do QA\QC the data before we rec &amp;amp; post so I'll just have to pay attention to the inspection date when we do that. &amp;nbsp;We'll be implementing Data Reviewer at some point in the future and hopefully it will be able to flag the inspection date if it's past the current date there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Sep 2017 15:08:36 GMT</pubDate>
    <dc:creator>Brian_Laws</dc:creator>
    <dc:date>2017-09-11T15:08:36Z</dc:date>
    <item>
      <title>Putting a constraint on a date field</title>
      <link>https://community.esri.com/t5/geodatabase-questions/putting-a-constraint-on-a-date-field/m-p/795123#M2328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a feature class for an asset that is going to be inspected twice a year, so it has an attribute for the date of the inspection that is going to be entered by the inspector. Is there a way that I can put a constraint on the date so that it can't be greater than the current date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The inspectors are going to be using the Collector app on iOS and it has the ability to enter in the current date easily so I don't anticipate this being a huge problem. But I am symbolizing this layer based on the inspection date and if it's in the future it will throw things off, especially if it's far in the future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 20:52:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/putting-a-constraint-on-a-date-field/m-p/795123#M2328</guid>
      <dc:creator>Brian_Laws</dc:creator>
      <dc:date>2017-09-08T20:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Putting a constraint on a date field</title>
      <link>https://community.esri.com/t5/geodatabase-questions/putting-a-constraint-on-a-date-field/m-p/795124#M2329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depending on your underlying database (ie SQL Server, Oracle, ...) you can set a constraint in the database's back end. &amp;nbsp;However, I am pretty sure there isn't a tool to do it in ArcGIS itself. &amp;nbsp;I also don't know if a back end constraint will carry over to Collector. &amp;nbsp;You could use editor tracking which will auto populate the date for the user when they create or update a feature.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 12:37:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/putting-a-constraint-on-a-date-field/m-p/795124#M2329</guid>
      <dc:creator>KevinDunlop</dc:creator>
      <dc:date>2017-09-11T12:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Putting a constraint on a date field</title>
      <link>https://community.esri.com/t5/geodatabase-questions/putting-a-constraint-on-a-date-field/m-p/795125#M2330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We do use editor tracking, but this feature class will be edited by others at different times so I can't use that as an inspection date. &amp;nbsp;Hence the separate attribute for that. &amp;nbsp;I think you are right that Collector might not be able to pass through the error if I constrain it on the database side, I imagine it probably would cause issues there. &amp;nbsp;I do QA\QC the data before we rec &amp;amp; post so I'll just have to pay attention to the inspection date when we do that. &amp;nbsp;We'll be implementing Data Reviewer at some point in the future and hopefully it will be able to flag the inspection date if it's past the current date there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 15:08:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/putting-a-constraint-on-a-date-field/m-p/795125#M2330</guid>
      <dc:creator>Brian_Laws</dc:creator>
      <dc:date>2017-09-11T15:08:36Z</dc:date>
    </item>
  </channel>
</rss>

