* Data references for diagram, conditional ones

Homeless Posts from the old forum system
Locked
avatar
SabineS
Diamond
Posts: 67
Joined: 11 Jan 2005 14:17
Family Historian: None

Data references for diagram, conditional ones

Post by SabineS » 07 Feb 2005 14:54

I would like to have EITHER birth or christening date, respectively either death or burial date in my diagrams. In Germany, sometimes you get the christening date from the records, but not the birth date. For this reason, I would like to use a data reference which conditionally includes the christening date, if no birth date is given for the individual.
Something like this:
{if birth date empty} chr. %INDI.CHR.DATE:COMPACT%

And the same for deaths/burials.

Problem is that I wasn't able to find out how to phrase the condition in the brackets. Does anybody know??

TIA

Sabine

ID:778

avatar
g_mcallister
Diamond
Posts: 68
Joined: 25 Jan 2004 15:45
Family Historian: None

Data references for diagram, conditional ones

Post by g_mcallister » 07 Feb 2005 15:30

Sabine,

I wanted to do the same but apparently it is not possible to do this yet. It is a wish list item. See the wish list for the item 'If construct to select one of a selection of a field'

avatar
rossm
Silver
Posts: 6
Joined: 26 Nov 2004 15:13
Family Historian: None

Data references for diagram, conditional ones

Post by rossm » 07 Feb 2005 17:26

Although it's not a perfect solution, take a look at the 'LifeDates()' function. The Help File states that 'LifeDates returns birth and death dates in a convenient format.  If birth and/or death dates are not available, it will return baptism, christening and/or burial dates instead, if these are known'.

As a Query Column and in Reports, '=LifeDates(%data reference%)' will return:
(a) Year of Birth (if known) eg '1790';
(b) Year of Baptism if no Birth Date eg 'bap.1790';
(c) Year of Death eg '1790-1850';
(d) Year of Burial if no Dath year eg 'bap.1790-bur.1850'

In the above examples you would substitute the term 'data reference' with the reference appropriate to your Report of Query. For an Individual Query, just =LifeDates() should be OK, or =LifeDates(%INDI%). For the LifeDates of a Child within a Family Query, you would need to use =LifeDates(%FAM.CHIL>%)

Not a perfect solution, I know, but in the absence of support for conditional functions, or in the absence of program support for the specific events as above, this is as close as I have managed to come.

Ross

avatar
SabineS
Diamond
Posts: 67
Joined: 11 Jan 2005 14:17
Family Historian: None

Data references for diagram, conditional ones

Post by SabineS » 07 Feb 2005 18:17

Ross and Gerry,

thanks for the answers!

I'll think about using LifeDates, but originally I wanted full dates and places, not only the years. By now, I decided to include all four events - makes the boxes pretty big, but does contain what I want ...

I'll take a look at the wish list.

Sabine

avatar
SabineS
Diamond
Posts: 67
Joined: 11 Jan 2005 14:17
Family Historian: None

Data references for diagram, conditional ones

Post by SabineS » 07 Feb 2005 18:20

Talking of that - what is the difference between baptism and christening?

Sabine

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

Data references for diagram, conditional ones

Post by Jane » 07 Feb 2005 20:38

This was discussed in detail on the FHU mailing list in July Last Year
Click here for more details

Locked