Report: faulty marriage dates

From TNG_Wiki
Jump to navigation Jump to search

Description: Families: wrong marriage dates. This can't go together in a report together with the other faulty dates (well it can but the report becomes complicated then)


Copy and paste the text between the lines into the reports section below "OR Leave Display, Criteria and Sort fields blank and enter direct SQL SELECT statement here:" and give it the title you think is appropriate


SELECT familyID, gedcom, husband, wife, marrdate, marrdatetr, changedby FROM tng_families

WHERE (Length( marrdate ) >4 AND NOT ( marrdate LIKE "Abt%" OR marrdate LIKE "Cal %" OR marrdate LIKE "Bef %" OR marrdate LIKE "Aft %" OR marrdate LIKE "Est %" OR marrdate LIKE "Bet %" OR marrdate LIKE "% BC" ) AND marrdatetr LIKE "%-00-00")