Looking at an Autotext entry in AS 7.2.7
Code: Select all
=IF[{KEYFATHER}%=LINKIND[{KEYFATHER.ID}%{KEYFATHER.FULL}] {KEYFATHER.DECEASED}
=IF[{KEYFATHER.OCCUPATION}%{KEYFATHER.OCCUPATION}%\<No Occupation\>]%]
=IF[{KEYFATHER}%=LINKIND[{KEYMOTHER.ID}%{KEYMOTHER.GN} {KEYFATHER.SN}] {KEYMOTHER.DECEASED}
M.S. {KEYMOTHER.SN}%=LINKIND[{KEYMOTHER.ID}%{KEYMOTHER.FULL}]]
I'm trying to ensure that if a father is not listed on a B Cert, the mothers name is recorded properly.
This works perfectly when both parents details are given.
But when I delete the father, the expression is still being evaluated as if a father is present albeit it does not have a surname to output.
The final part of the sentence for the mother is not even looked at.