* child count on family

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
Ron Melby
Megastar
Posts: 878
Joined: 15 Nov 2016 15:40
Family Historian: V6.2

child count on family

Post by Ron Melby » 15 Jan 2018 10:34

typical situation, I have people who have multiple families
I need to put a child count subordinate to each of the family records as the standard sets out. NCHI in FAM_RECORD page 24. It allows it on the indi record page 30, but this will not cut the mustard when tehere are multiple marriages, in fact, NCHI is only useful for bachelors or spinsters when in the indi record.

the only commentary I find here is this viewtopic.php?f=32&t=14284&p=72271&hili ... unt#p72271 and the children event does not help me here.(and in fact I don't believe it is at the family level in any case)

I cannot seem to find out how to get at the child count in a family record. it does not appear in the list of family events and attributes.

Which click am I missing? or is this an error I need to report?
FH V.6.2.7 Win 10 64 bit

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

Re: child count on family

Post by tatewise » 15 Jan 2018 11:11

Yes both End of Line Marker (14284) and Help needed to write an expression (15597) have a similar theme.

Whereas the Individual record NCHI is a GEDCOM Attribute (Page 30), the Family record NCHI is NOT a GEDCOM Attribute (Page 24) and thus has no subordinate Date, Place, Address, Note fields.

That explains why it does not appear on the Add Fact list for a Family record Facts tab, as it is not a Fact.
Instead you must use the All tab, and right-click the name to Add Miscellaneous > Add Count of Children.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
DavidNewton
Superstar
Posts: 462
Joined: 25 Mar 2014 11:46
Family Historian: V7

Re: child count on family

Post by DavidNewton » 15 Jan 2018 12:39

The Main Tab of an individual's property box gives the number of children in each marriage in the header of the list of children when the spouses are selected. Strangely the child list and number of children does not appear in the Family property box, perhaps for the reasons mentioned by Tatewise.

It is possible to add a custom field to the Main Tab of the Family property box with the data reference %FAM.NCHI%. This saves the effort of going via the All Tab.

However, as far as I know NCHI is not a calulated field so the numbers have to be added manually. This is where the inbuilt function ChildCount can be used in a simple plugin to update all these numbers, but of course you still have to run the plug-in from time to time to update them.
Update Family Child Count.fh_lua
(376 Bytes) Downloaded 154 times
David

User avatar
Ron Melby
Megastar
Posts: 878
Joined: 15 Nov 2016 15:40
Family Historian: V6.2

Re: child count on family

Post by Ron Melby » 15 Jan 2018 12:48

Ah, ok. I get it, seems like the long way around the barn, but that will work for me. Thank you so kindly, tatewise.
FH V.6.2.7 Win 10 64 bit

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

Re: child count on family

Post by tatewise » 15 Jan 2018 13:10

If you need to access that field often, then as David says, it can be customised into the Main tab of the Family Property Box to avoid negotiating the All tab right-click command.

But even better, the Family NCHI can be customised onto the Spouses tab of the Main tab of the Individual Property Box to avoid even having to switch to the Family record.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
Ron Melby
Megastar
Posts: 878
Joined: 15 Nov 2016 15:40
Family Historian: V6.2

Re: child count on family

Post by Ron Melby » 15 Jan 2018 15:50

I would love that, I am not facile enough to do that, could you waltz me thru the steps? Thanks. I figured out how to do the other one.
FH V.6.2.7 Win 10 64 bit

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

Re: child count on family

Post by tatewise » 15 Jan 2018 21:36

Yes Ron, follow these steps in the Individual Property Box.
  1. Use the cog Menu and Customize Data Entry
  2. Ensure Record Type: Individual and Tab: Main are chosen top left
  3. Untick Show most commonly-used items only bottom left
  4. Select <Custom Item> top left and click central > to add item
  5. In the Choose Area dialogue select Area for shared details and click OK
  6. In the New Custom Item dialogue set the Custom Item Name to Child Count
  7. Tick Part 1 and set Label: to Child Count and Data Reference to FAM.NCHI
  8. Click OK twice
CustomChildCount.png
CustomChildCount.png (61.12 KiB) Viewed 4727 times
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

Post Reply