Page 1 of 1
Twins
Posted: 20 Nov 2012 14:08
by janefrances
I have several sets of twins in my family tree and would like to see them displayed in my diagrams, I have had a look at the family historian help and it looks way to complicated for me to use expressions. Is there an easier way just to show twins?
Thanks
Jane
ID:6602
Twins
Posted: 20 Nov 2012 16:21
by Jane
Just use the expression here
http://www.fhug.org.uk/wiki/doku.php?id ... find_twins
put it all on one line and add it to the Diagram Boxes as an expression.
Twins
Posted: 20 Nov 2012 17:05
by johnmorrisoniom
Mike Tate came up with this one as well which works well for me
Code: Select all
=IsTrue((Diff(DayNumber(%INDI.BIRT.DATE%),DayNumber(Field(NextSib(%INDI%,1),'INDI.BIRT.DATE'))) < 2)
or (Diff(DayNumber(%INDI.BIRT.DATE%),DayNumber(Field(PrevSib(%INDI%,1),'INDI.BIRT.DATE'))) < 2))
Twins
Posted: 20 Nov 2012 18:17
by tatewise
Basically the Expression obtains the Difference between the Birth Date Day Number of the Individual and Next Sibling, as well the Birth Date Day Number of the Individual and Previous Sibling.
If they differ by less that 2 days then the result is true.
2 days is used to allow for multiple births across midnight.
This Expression not only detects Twins but also any other multiple birth - triplets, quads, etc.
The beauty of Expressions to Condition Diagram Boxes is that once set up they automatically work for ever.
No more need to keep setting Flags on Individuals.
Twins
Posted: 20 Nov 2012 20:41
by janefrances
Was getting on really well with the twin icons. When it came to selecting one I thought I would use one of my own.
However, this didn't come out too well, and now I can't navigate back to the programs icon folder as I cannot find it anywhere. Feel a right twit!
Thanks
Jane
Twins
Posted: 20 Nov 2012 21:33
by tatewise
You don't say, but I am guessing you mean in the
Diagram Options, on the
Boxes tab, in the
Box Features window, where you
<< Select an
Icon.
You also don't say which version of
Windows you are using, so I will cover
Windows 8, 7, Vista as well as
Windows XP which is different.
In the
Select Icon sub-window, click on
Computer and
Open the
C: drive (or whatever drive Windows is installed on).
On
Windows 8, 7, Vista, scroll down and
Open the
ProgramData folder (
NOT Program Files).
On
Windows XP, scroll down and
Open the
Documents and Settings and
All Users and
Application Data folders in turn.
Then
Open the
Calico Pie and
Family Historian and
Icons folders in turn.
This is where FH keeps its icon files.
You would be advised to add your icons to this folder too.
There are some Twins and Triplets icons in
FHUG Downloads ~ Diagram Icons.
See
Brian's Icons and
Jane's Census & Certificate Icons and
Wulliam's Icons.
Download them to the FH
Icons folder, or a sub-folder within it.
Twins
Posted: 21 Nov 2012 20:54
by janefrances
Thank you for your prompt help. All sorted.[smile]
Twins
Posted: 21 Nov 2012 20:55
by janefrances
Thank you for your prompt help. All sorted.[smile]