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.
-
capnkeith
- Famous
- Posts: 190
- Joined: 09 Mar 2009 17:15
- Family Historian: V6.2
- Location: Suffolk, England
Post
by capnkeith » 18 Dec 2014 14:43
[EDIT by Mike Tate]
I have split this sequel off from
Speculative Link (11966) because it is has become more complex than expected.
Please excuse me jumping in here.
I have been following this discussion and found Tatewise suggestion useful. However I am having difficulty getting the note text to display in a diagram box or on a report. I managed to get the code to display in the box but not the text

Also managed to display an icon. What am I missing or not doing correctly?
I'm sure it is not relevant but I don't display an actual box in my diagrams, just the text.
Regards
Last edited by
capnkeith on 19 Dec 2014 01:22, edited 1 time in total.
Keith
-
tatewise
- Megastar
- Posts: 27082
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
-
Contact:
Post
by tatewise » 18 Dec 2014 15:53
What should work well in FH V6 is the new Contextual Data References explained in the Help for Understanding Data References. I think what worked is %CUR_FAMC.NOTE2%
%INDI.FAMC[1].NOTE2% should also work but only for 1st Parents.
%INDI.FAMC[2].NOTE2% should also work but only for 2nd Parents.
Whereas, %CUR_FAMC.NOTE2% should work for the displayed Parents.
The style of Box will make no difference.
-
capnkeith
- Famous
- Posts: 190
- Joined: 09 Mar 2009 17:15
- Family Historian: V6.2
- Location: Suffolk, England
Post
by capnkeith » 18 Dec 2014 16:26
I have used %INDI.FAMC[1].NOTE2% and that is what it displays in the box not the actual text entered in the Note field. I tried creating a Text Scheme Custom Item but didn't have a lot of luck, not knowing what other settings to use.
Just tried this one %CUR_FAMC.NOTE2% but it told me "Not valid in this context"
Keith
-
tatewise
- Megastar
- Posts: 27082
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
-
Contact:
Post
by tatewise » 18 Dec 2014 16:52
In the Edit Text Scheme Item window in the Template box at the top I have literally %INDI.FAMC.NOTE2%
No string quotes, nothing else, default options, and it displays the Note text in both FH V5 and FH V6.
Similarly %CUR_FAMC.NOTE2% works on FH V6.
What are you actually entering into the Template box?
-
capnkeith
- Famous
- Posts: 190
- Joined: 09 Mar 2009 17:15
- Family Historian: V6.2
- Location: Suffolk, England
Post
by capnkeith » 18 Dec 2014 17:16
I was using the insert button in Edit Text Scheme Item and using the Data Reference Assistant and even though there it displayed the code within % signs. They were missing when it transferred into the template window, which I had not noticed. I have now manually inserted them and now it works.
Thanks for your help.
Now I will have a go at changing the text colour for this note.
Keith
-
tatewise
- Megastar
- Posts: 27082
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
-
Contact:
Post
by tatewise » 18 Dec 2014 17:33
Did the %CUR_FAMC.NOTE2% version work?
I will investigate the lack of % when using DRA as it may be a bug in FH V6.
-
capnkeith
- Famous
- Posts: 190
- Joined: 09 Mar 2009 17:15
- Family Historian: V6.2
- Location: Suffolk, England
Post
by capnkeith » 18 Dec 2014 17:59
No %CUR_FAMC.NOTE2% still does not work, same message.
Keith
-
tatewise
- Megastar
- Posts: 27082
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
-
Contact:
Post
by tatewise » 18 Dec 2014 18:08
You are running FH V6?
What type of Diagram have you tried?
Try editing existing working Template and change the %INDI. prefix to %CUR_
Make sure you replace IND and dot with CUR and underscore.
-
capnkeith
- Famous
- Posts: 190
- Joined: 09 Mar 2009 17:15
- Family Historian: V6.2
- Location: Suffolk, England
Post
by capnkeith » 18 Dec 2014 19:39
I am running v6. I'm surprised you even asked
I have been using an All Relatives diagram.
Trying as requested, I cannot use
%CUR_FAMC.NOTE2% in the
Diagram Options / Boxes - message comes up "Data reference is to a record of the wrong type."
I can use
%CUR_FAMC.NOTE2% in the
Diagram Options / TEXT and it does display as expected in All Relatives, Ancestors & Descendants and Descendants diagrams but not the Ancestors diagram.
Regards
Keith
-
capnkeith
- Famous
- Posts: 190
- Joined: 09 Mar 2009 17:15
- Family Historian: V6.2
- Location: Suffolk, England
Post
by capnkeith » 19 Dec 2014 01:29
Just added note to two other people in an All Relatives diagram, but note would not display until I changed text scheme back to INDI. . Even though the original one was still working with CUR_ ?
Regards
Keith
-
tatewise
- Megastar
- Posts: 27082
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
-
Contact:
Post
by tatewise » 19 Dec 2014 15:34
I have visitors at the moment, but will try to repeat those symptoms later on both FH V5 and FH V6 as appropriate.
-
tatewise
- Megastar
- Posts: 27082
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
-
Contact:
Post
by tatewise » 19 Dec 2014 21:44
I have investigated those symptoms on FH V5 & FH V6 and they largely, but not entirely, concur with Keith's.
- In FH V6 and FH V5 there are no problems with the %INDI.FAMC.NOTE2% format.
- In FH V6 both the Text Scheme and Boxes Condition DRA <<Insert mode for almost every Contextual Data Reference says Expression is not valid for this context, but if entered by hand they are all OK.
- In FH V6 the Edit Text Scheme Item DRA <<Insert mode omits the leading & trailing % on everything!
- In FH V6 the Edit Text Scheme Item allows Contextual Data References in the Template, but in Ancestor Box Types (green background) they display nothing.
I have reported these separately in another thread
FH V6 Diagram Broken Data Refs (12009).