* Automatic ';Count of children'; per marria

Homeless Posts from the old forum system
Locked
avatar
SabineS
Diamond
Posts: 67
Joined: 11 Jan 2005 14:17
Family Historian: None

Automatic ';Count of children'; per marria

Post by SabineS » 13 Jul 2005 19:40

I noticed the 'count of children' field which is associated with an individual. I would rather have something automatic that gives me the count of children per marriage. That number then could, for example, be included into a query.

Cumberland Family Tree - which is where I came from in terms of software use - had something like that in its 'Family Record List', which contained, apart from husband, wife and marriage date/place, a column with the number of children from that particular marriage.

Or is there a way to do this through a query in FH?

Sabine

ID:976

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

Automatic ';Count of children'; per marria

Post by Jane » 13 Jul 2005 20:55

You can do both. The count of children is for you to use where you 'know' there are more children than you have details for. IE the man had 2 chidren by a previous marriage, but thats all you know, so the field is available.

For get the automatic just use the
ChildCount function, if you want the number of children in the file.

Here is the documentation from the Help file.

Function Name: ChildCount

Description:
Returns the number of children of a given Individual or Family. Can be used with any record type, but will return 0 for record types other than Individual or Family
No. of parameters: 1
Return Type: Numeric
Parameter 1: A reference to a record
Examples: =ChildCount(%INDI%) or=ChildCount(%FAM%)or=ChildCount()

avatar
SabineS
Diamond
Posts: 67
Joined: 11 Jan 2005 14:17
Family Historian: None

Automatic ';Count of children'; per marria

Post by SabineS » 14 Jul 2005 07:01

Jane,

great - that's it, tried it just now. I should have checked the Help File first ...

Thanks a lot

Sabine

Locked