Is there a way to autopopulate the expired date in a feature class?

2607
3
09-27-2014 04:14 PM
Sheri_AnneSantos
New Contributor II

I have a table / feature class that has the due dates populated. Is there a way for the system to automatically populate a new column i have added named "status"? It should just look at the Due Date Column and compare it with the Current Date (Now()).

0 Kudos
3 Replies
XanderBakker
Esri Esteemed Contributor

I guess a python script as scheduled task (that runs each night) could do this job automatically.

0 Kudos
Sheri_AnneSantos
New Contributor II

Thanks for the too Xander. You are the smartest!!!

Sent from my iPhone

OwenEarley
Occasional Contributor III

Geodatabase Class Extensions can do this sort of thing but they require ArcObjects code to implement.

An example is the Timestamper Extension.

I would strongly suggest Xander's solution if the data is not time critical, as Class Extensions are powerful but a pain to implement.