I'm doing a query which in common garden format used by every other system in the world would be something like
'surname is Axtell AND marriage date is NOT null AND spouse's given name is null'.
This is to get a list of all the spouses of an Axtell whose first name I haven't recorded as I haven't cross-checked the marriage index entries. I've gone through my Axtell marriages and only recorded the spouse's surname (where available) on my first pass.
I've tried the following query
Code: Select all
Add if %INDI.NAME[1]:SURNAME% matchs 'axtell'
Exclude if %INDI.FAMS>MARR.DATE% is null
Exclude unless %INDI.~SPOU[1]>NAME[1]:GIVEN% is nullAfter a couple of hours of frustrating trial and error because of FH's idiosyncratic query syntax I managed to get the result I wanted with the last line of the query being
Code: Select all
Exclude unless %INDI.~SPOU[1]>NAME[1]:STORED% begins with '/'So, should querying if a given name is empty only work if the whole name is null or if only the given name is null?
ID:2881