* Missing icons in Diagrams

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
avatar
Robert129
Diamond
Posts: 83
Joined: 10 Feb 2007 13:53
Family Historian: V6

Missing icons in Diagrams

Post by Robert129 » 08 Nov 2012 22:10

I recently posted under the V2 Forum and received great assistance from Mike Tate on Expressions in Diagrams and Flags in the Individual records Window (IRW).
From that I removed all BMD and Census Flags as directed as these were now being added by the Expressions created.

What I find now is that some Census Icons are not showing on my diagrams. BMD icons seem to be working OK.

Under Diagrams Options/Boxes/Condition I have

=ContainsText(%INDI.CENS.SOUR>ABBR%,'1841 England Census',STD)

and the year varies accordingly.

As an example on one of my records the IRW says that they have Cenusus records for 1841;51;61;71 & 1881 but on the Diagram only the 1841 Icon is showing.

The Citations in the Source Pane are identical in format and uner the Property Record Facts tab all the appropriate Census information is there.
Doe anyone have any idea what is going on and how do I correct it.
Robert

ID:6576

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Missing icons in Diagrams

Post by tatewise » 08 Nov 2012 22:31

I remember discussing this under the other thread.

You need to use the special index format CENS[year=1234] in each Condition.

This is because there are multiple instances of the CENS Events, and your current Condition is only detecting the first instance, and only if it has an 1841 England Census Source citation.

So your revised Expressions should be:
=ContainsText(%INDI.CENS[year=1841].SOUR>ABBR%,'1841 England Census',STD)
=ContainsText(%INDI.CENS[year=1851].SOUR>ABBR%,'1851 England Census',STD)
et seq...

The Knowledge Base Using Flags and Icons does mention this special index under the Worked Examples several times.

avatar
Robert129
Diamond
Posts: 83
Joined: 10 Feb 2007 13:53
Family Historian: V6

Missing icons in Diagrams

Post by Robert129 » 08 Nov 2012 23:47

Mike
Once again I'm indebted. Of course you guided me through that for the Flags in the IRW window and I just didn't connect it for the Expressions. Addled brain.
Robert

Post Reply