# Mass kill of ancestors of those over a certain age

**URL:** <https://community.rootsmagic.com/t/mass-kill-of-ancestors-of-those-over-a-certain-age/5771>\
**Category:** RootsMagic\
**Tags:** question, rootsmagic\
**Created:** [November 24, 2022, 6:42pm UTC](https://community.rootsmagic.com/t/mass-kill-of-ancestors-of-those-over-a-certain-age/5771 "2022-11-24T18:42:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ttri](https://avatars.discourse-cdn.com/v4/letter/t/b2d939/32.png) [@ttri](https://community.rootsmagic.com/u/ttri)\
**Post date:** [November 24, 2022, 6:42pm UTC](https://community.rootsmagic.com/t/mass-kill-of-ancestors-of-those-over-a-certain-age/5771/1 "2022-11-24T18:42:07Z")

</div>

I know how to change the ‘set living’ flag to false for those that are over a certain age. Is there a way to select all those over say 105 years old AND all their ancestors, then change the set living flag to false?

Background: I’ve recently noticed that I have a number of individuals who have children over 105 years old, that because I didn’t enter their birth date or neglected to change their ‘set living’ flag to false, they are still showing up as living.

Thanks for any suggestions,  
Tom

---

<div class="post-metadata">

**Author:** ![TomH](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.rootsmagic.com/tomh/32/30_2.png) [@TomH](https://community.rootsmagic.com/u/TomH)\
**Post date:** [November 24, 2022, 9:59pm UTC](https://community.rootsmagic.com/t/mass-kill-of-ancestors-of-those-over-a-certain-age/5771/2 "2022-11-24T21:59:04Z")

</div>

> [@ttri](#):
>
> Thanks for any suggestions,

You did say any!

This was a shortcoming in earlier versions of RM and I’m not surprised if nothing has changed. That drove me into a couple of attempts at an outboard solution, culminating in this post seven years ago:  
[https://sqlitetoolsforrootsmagic.com/living-flag-set-globally/](https://sqlitetoolsforrootsmagic.com/living-flag-set-globally/)

---

<div class="post-metadata">

**Author:** ![ttri](https://avatars.discourse-cdn.com/v4/letter/t/b2d939/32.png) [@ttri](https://community.rootsmagic.com/u/ttri)\
**Post date:** [November 24, 2022, 10:37pm UTC](https://community.rootsmagic.com/t/mass-kill-of-ancestors-of-those-over-a-certain-age/5771/3 "2022-11-24T22:37:42Z")

</div>

Thanks Tom. I forgot to even look at the sqlite scripts.
