Since most people are buried once I do an Individual Query and pull in the burial details and put a parameter query into the rows tab:
%INDI.BURI[1].PLAC>% is ["Burial"]
And that works ...
Except married women tend to be buried under their married names! So I am doing battle with the FH functions and expressions again (which seem to behave logically but in a completely different way to any other coding system I have met) which gives me serious brain ache!
So in pseudo code create a column expression:
1) If a Husband exists use the last husband's surname, otherwise use birth surname
2) Then concatenate ", " and the given names.
then sort on that column
For line (1) I can specify "a spouse" or "the husband of a specified couple", but to explicitly say if an individual had a husband you seem to have to say if (female and has a spouse):
Code: Select all
=TextIf(%INDI.SEX% = "Male",%INDI.NAME:SURNAME%,
TextIf(Exists(%INDI.FAMS>%),
%INDI.~SPOU[last]>NAME:SURNAME%,
%INDI.NAME:SURNAME%
)
)For line (2) %INDI.NAME:GIVEN_ALL% should do the trick, but how do you concatenate it? This should be the simplest bit:
. ? No (although this seems to work elsewhere)
+ ? No
& ? No
space ? No
And I am not even sure what to look for in help!
Do they not work in column expressions?
(You can't change :SURNAME in part 1 to :SURNAME_FIRST because in some cases you want the husband's surname and the wife's given names!)
If I could get into the right brain warp, I'm sure this should be easy!