* Query to search on multiple names

Homeless Posts from the old forum system
Locked
avatar
rfj1001
Superstar
Posts: 271
Joined: 14 Dec 2003 18:11
Family Historian: V7
Location: Dorset, England
Contact:

Query to search on multiple names

Post by rfj1001 » 31 May 2011 16:10

I want to search my FH database to find people that match a particular first name and surname.

My problem is that some of the people in my dataset have up to eight variant first names spellings and twelve variant surname spellings.

Any thoughts on how I might approach this?

Thanks

ID:5119

User avatar
Jane
Site Admin
Posts: 8442
Joined: 01 Nov 2002 15:00
Family Historian: V7
Location: Somerset, England
Contact:

Query to search on multiple names

Post by Jane » 31 May 2011 16:42

Searching either for the Surname or the First Names are pretty easy, but combining them would probably mean using a pretty complex function statement.

I'll have a play, but I suspect that's the way to go.

avatar
rfj1001
Superstar
Posts: 271
Joined: 14 Dec 2003 18:11
Family Historian: V7
Location: Dorset, England
Contact:

Query to search on multiple names

Post by rfj1001 » 01 Jun 2011 11:58

Thanks Jane - the best I could get was to set up a query on the surnames and create a gedcom file from that; then set up another query on that gedcom file that worked on first names. I just ended up with too many gedcom files :(

User avatar
PeterR
Megastar
Posts: 1129
Joined: 10 Jul 2006 16:55
Family Historian: V7
Location: Northumberland, UK

Query to search on multiple names

Post by PeterR » 01 Jun 2011 13:13

I guess you could (1) run your surname query and use the Query Menu option to Add Result Set Records to Named List....  Then you could (2) run the forename query on your original GEDCOM file with an additional filter to Exclude unless... the records are in the 'surname' List populated in step 1 above.

Locked