* Highlighting Immigrants

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
User avatar
KenS
Silver
Posts: 6
Joined: 06 Sep 2018 13:25
Family Historian: V6.2
Location: TN, USA

Highlighting Immigrants

Post by KenS » 06 Sep 2018 13:48

Good day all! First time poster here, so please forgive if my question has been covered somewhere my searching hasn't discovered.

My genealogical goal is to trace my non-indigenous ancestry back to whichever boat they arrived here (USA) on. When I discover an immigrant, I use the "immigration" fact to record this.

What I'd like to do is the following: when I create an ancestor (or any) tree, any record with an "immigration" fact automatically gets its box background in a different color - perhaps light green to commemorate the seasickness. :mrgreen: If not automatic, is there a "push button" solution available? A script? Setting up a record flag and applying it somehow? Ditto a named list?

If someone could point to an existing solution I've missed that would be wonderful as well.

Many thanks in advance for any assistance!

V/R KenS

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

Re: Highlighting Immigrants

Post by Jane » 06 Sep 2018 13:56

That is easy enough.

You simply need to check if an immigration event exists.

Go to Diagram>Options and select the Boxes tab.

Click on Add Condition then Expression then select the Immigration fact using the data reference button and click OK
2018-09-06_145457.jpg
2018-09-06_145457.jpg (136.32 KiB) Viewed 2853 times
On the next window select how you want to highlight the box. You can add an icon, or change the border or colour the box as you want.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."

User avatar
KenS
Silver
Posts: 6
Joined: 06 Sep 2018 13:25
Family Historian: V6.2
Location: TN, USA

Re: Highlighting Immigrants

Post by KenS » 06 Sep 2018 14:10

Perfect! Looks like I missed a few so I'll be editing rather than researching for a bit. Thank you!

V/R KenS

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

Re: Highlighting Immigrants

Post by Jane » 06 Sep 2018 15:17

Another nice option is to use icons, either triggered by a flag or an expression to show country of Origin.

So for example you can use

Code: Select all

=IsTrue(TextPart(%INDI.BIRT.PLAC%,-1,1,STD) = "USA")
and add a US flag if the Birth Place ends with USA and do the same for each country of origin, where you know it.

What the expression above does is to take the last part of the Birth Place and compare it to the string given in the " "


There is a quite comprehensive set of flags in the Knowledge base
fhugdownloads:contents:international_flag_icons|> Diagram Icons ~ International Flags
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."

Post Reply