Witness role sentence problem
Posted: 16 Apr 2023 04:17
This sentence works perfectly for two or more children but not for one. It's a witness sentence for the role "child"
<{role(plural)=child}, lived with their parents><{role(single)=child} lived with {=TextIf(%CUR~WITN>SEX% = "Male","his","her")} parents>, <at {address}> {place} {date}<{note}>
Here is the output:
Jane Doe lived with {=TextIf(%CUR~WITNSEX% ="Male","his","her")} parents>, at 2321 Tiebout Avenue in Yonkers, New York on June 1, 1925.
I also tried it using {his/her} and {couple} in place of the TextIf function.
I'm sure I'm doing something wrong that will turn out to be perfectly obvious once someone who knows explains it.
Thanks to all.
Robert
<{role(plural)=child}, lived with their parents><{role(single)=child} lived with {=TextIf(%CUR~WITN>SEX% = "Male","his","her")} parents>, <at {address}> {place} {date}<{note}>
Here is the output:
Jane Doe lived with {=TextIf(%CUR~WITNSEX% ="Male","his","her")} parents>, at 2321 Tiebout Avenue in Yonkers, New York on June 1, 1925.
I also tried it using {his/her} and {couple} in place of the TextIf function.
I'm sure I'm doing something wrong that will turn out to be perfectly obvious once someone who knows explains it.
Thanks to all.
Robert