Report: Incomplete families

From TNG_Wiki
Jump to navigation Jump to search

Description: Families where husband or wife is missing


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, husband AS HusbandPersonID, wife AS WifePersonID, marrdate, living, gedcom 
FROM tng_families 
WHERE (husband LIKE 'I%'=0) OR (husband='-') OR (wife LIKE 'I%'=0) OR (wife='-') 
ORDER BY familyID