Mass kill of ancestors of those over a certain age

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,

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:

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