Hi All,
I have cited, for the purpose of this example, the Social Security Death Index for the death fact of a number of people. In my citation, I copy the information from the index; each line is labeled.
I want to build a query which displays this information in a tabular format. After I get this working, my husband wants similar queries for GRO Birth, Death and Marriage indexes.
I don't have a problem extracting the text from the citation. (GetLabeledText)
But, I don't know how to specify the relevant source in the "source array." In one case it might be the first source. In another, it could be the fifth.
I seem to remember that there was a way to access the array using names. Is this correct? Or am I just being hopeful?
Thanks,
Shoshana
* Accessing source by name instead of number
-
shoshk
- Famous
- Posts: 242
- Joined: 13 May 2015 16:28
- Family Historian: V7
- Location: Mitzpe Jericho, Israel
Accessing source by name instead of number
Shosh Kalson
- tatewise
- Megastar
- Posts: 27088
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Accessing source by name instead of number
Unfortunately, there is no easy solution to that with a Query.
It has to use the instance number of the Citation SOUR[1] to SOUR[5].
You would either have to have five columns, one per instance, or a quite complex Expression that tested if SOUR[1]>TITL = "Social Security Death Index" else if SOUR[2]>TITL = "Social Security Death Index" and so on.
A Plugin can cope better with such things and there may be one in the Plugin Store that will work for you or could be adapted. Have a look at List All Citations for a Source and Where Used Record Links.
It has to use the instance number of the Citation SOUR[1] to SOUR[5].
You would either have to have five columns, one per instance, or a quite complex Expression that tested if SOUR[1]>TITL = "Social Security Death Index" else if SOUR[2]>TITL = "Social Security Death Index" and so on.
A Plugin can cope better with such things and there may be one in the Plugin Store that will work for you or could be adapted. Have a look at List All Citations for a Source and Where Used Record Links.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry