* Columns... a conditional element

Homeless Posts from the old forum system
Locked
User avatar
MarkB
Diamond
Posts: 59
Joined: 31 Mar 2006 17:52
Family Historian: V5

Columns... a conditional element

Post by MarkB » 02 Apr 2006 12:22

It's not possible to have a conditional element in the creation of new columns in individuals records, is it?

Let me explain. I want a column that shows the spouse's surname for females only, in other words their married name. I can create a column with:

Code: Select all

INDI.~SPOU[1]>NAME[1]:SURNAME
but this displays against males as well . What I really want is something like:

Code: Select all

if INDI.SEX=Female (INDI.~SPOU[1]>NAME[1]:SURNAME)
or whatever.

I imagine that the engine for this sort of comparison is already in the program code, it just needs extending to other parts of the program.

Go on, tell me I've missed something simple :-)
Mark

ID:1495

User avatar
Jane
Site Admin
Posts: 8441
Joined: 01 Nov 2002 15:00
Family Historian: V7
Location: Somerset, England
Contact:

Columns... a conditional element

Post by Jane » 02 Apr 2006 14:55

No nested functions are not supported yet.

Obviously you can now condition code on the diagrams, but that is done in multiple layers rather than as a nested instruction.

User avatar
MarkB
Diamond
Posts: 59
Joined: 31 Mar 2006 17:52
Family Historian: V5

Columns... a conditional element

Post by MarkB » 02 Apr 2006 17:32

Thanks Jane, I thought as much.
Perhaps I should add this to the wish list?
Mark

Locked