Page 1 of 1

Spouse ID in Individual display

Posted: 05 Jan 2023 12:06
by gsward
In my Record List for individuals, I show the first spouse's name where one exists. How can I also show the ID of that same spouse? I don't seem to be able to find the correct expression.

Thanks

Re: Spouse ID in Individual display

Posted: 05 Jan 2023 12:29
by tatewise
Notice how the Individual's Record Id uses the function =RecordId() which is defaulting to =RecordId( %INDI% )

To get the 1st Spouse's Record Id use =RecordId( %INDI.~SPOU[1]>% )
i.e. Supply the data reference to the spouse's Individual record to the function.

Re: Spouse ID in Individual display

Posted: 05 Jan 2023 12:45
by gsward
Thank you!