* Running a Query on the Result Set of Another Query

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
avatar
rfj1001
Superstar
Posts: 271
Joined: 14 Dec 2003 18:11
Family Historian: V7
Location: Dorset, England
Contact:

Running a Query on the Result Set of Another Query

Post by rfj1001 » 27 Jul 2020 14:22

Not sure if this can even be done but I can't find it covered elsewhere.

Essentially, what I want to do is to work just on a subset of records (often surnames) and then interrogate that subset further. The subject of the second interrogation is almost as open-ended as the queries available (eg missing census records).

Any thought on how it might be achieved.

Many thanks

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Running a Query on the Result Set of Another Query

Post by tatewise » 27 Jul 2020 15:08

The short answer is 'NO' you cannot run a Query on a Result Set.

But there may be circumstances where in effect it is feasible via some other commands.

If you are interested in the Records in the Result Set then the cog Query Menu > Add Row Records to Named List... saves those Result Set Records in the Named List (but not any of the Column details).

Another Query can use the =IsInList(%INDI%,"Named List") function as a Rows tab filter to restrict it to just those Records.

Alternatively, starting from the Query that produces the desired Result Set, save it as another Custom Query and add more Rows tab filters for the additional filtering.

BTW: As far as missing Census records are concerned there are plenty of existing Queries and Plugins for that.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

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

Re: Running a Query on the Result Set of Another Query

Post by rfj1001 » 27 Jul 2020 16:23

Thanks Mike,

I'd guessed it might not have been possible. Adding the row filter and changing it each time got me 50% of the way there though.

Post Reply