Births+-+Add+from+Christening+or+Baptism

RootsMagic 7, as does some other software, uses the date of the Christen event as a substitute birth date for age calculations and summary displays when there is no Birth event. But RootsMagic's own mobile application for iOS and Android does not. Moreover, some users object to using the Christen fact type, on principle or perhaps having already extensively used the Baptism fact type and not wanting to have to change those instances one at a time, just to get the benefit of the auto-substitution. If that is all that is wanted, then the script Facts - Change Fact Type should suffice. This script removes the reliance on auto-substitution by creating a Birth event from the Christen or Baptism event for all persons having one or more of those but no Birth event.



code format="sql" -- Birth-AddFromChristenBaptism.sql /* 2017-02-11 Tom Holden ve3meo For persons having no Birth event but with either a Christen or Baptism event, adds a Birth event duplicating the CHR or BAPM event.

It does not copy citations or media and does not modify the Date or SortDate. If a person has both CHR and BAPM, it copies CHR. If a person has multiple CHR or BAPM events, it copies only one which with priority given to IsPrimary and secondly to lowest SortDate. code ...and it does not replicate sharers if the source event is shared.