Hello all! I am fairly new to Model Builder (and a complete novice at Python) and I have been tasked with the following that would need to be run daily:
- Select certain records for the past day from feature class #1
- Compare the selection to feature class #2 based on a field called "event number".
- *Tricky part* If the record already exists in feature class #2, delete it from feature class #2 (as it would be older data than the new record. This would be identified by a matching "event number")
- Append the selected records to feature class #2
Steps 1 and 4 are straightforward enough. For 2 and 3, I'm guessing I'll need to do some sort of iteration and logical tool but I can't seem to find good examples to help generalize to what I'm trying to do. Any help is much appreciated!