GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Author Can the "He/She was an only child." sentence be suppressed?
Posted Tuesday, February 26, 2019 - Post #39303
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.4

Last Login: 13 hours ago
Posts: 359, Visits: 2,327
I got a rather nasty mail from a family member writing me that a certain "x" was not an only child and that I should stop saying so in our family tree ... 
I'm not sure he was sober when writing this but he has a point anyhow.
So the question is if it is possible to suppress the "he/she was an only child" sentence in the report?
Posted Tuesday, February 26, 2019 - Post #39305
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.4

Last Login: 13 hours ago
Posts: 359, Visits: 2,327
Just found an old (2007) post dealing with a similar issue.
Is the modification of lang.vbs still the way to go?
Posted Tuesday, February 26, 2019 - Post #39306
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.4

Last Login: 42 minutes ago
Posts: 2,740, Visits: 19,944
On reflection I think I prefer to leave this sentence out unless the compiler explicitly states that there are 'No more children' rather than omitting only when 'Possibly more children' or 'To be completed' is indicated for the family.  This should prevent any false assumption in the report.

so change line 975 of Lang.vbs from


                If f.FamilyLine.ID ="NoMoreChildren" Or f.FamilyLine.ID = "" Then Report.WritePhrase StrDicMFU("PhOnlyChild",strGender), PnP(i), ToBe(i), strGender

to 
                If f.FamilyLine.ID ="NoMoreChildren"  Then Report.WritePhrase StrDicMFU("PhOnlyChild",strGender), PnP(i), ToBe(i), strGender

I've changed by source file and so this will appear in the next update.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse