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.1.0.1

Last Login: 2 hours ago
Posts: 463, Visits: 3,155
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.1.0.1

Last Login: 2 hours ago
Posts: 463, Visits: 3,155
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.1.0.1

Last Login: Yesterday @ 9:40 PM
Posts: 3,325, Visits: 25,526
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"
Posted Monday, April 13, 2020 - Post #40406
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 2 hours ago
Posts: 463, Visits: 3,155
I just ran a little test with 3.1.0.0 but the sentence still shows.



Context: This genealogy report was generated by GenoPro® version 3.1.0.0 on 2020.4.14 using modified skin template {EN} Narrative Report (2020.03.13) with code base 2020.04.09
Posted Sunday, April 19, 2020 - Post #40413
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

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

Last Login: Yesterday @ 9:40 PM
Posts: 3,325, Visits: 25,526
Not sure how I managed to regress that amendment, the last change to Lang.vbs was March 2019. Blush

Anyway I have put it back in and created a new bundle of report skin templates for inclusion in GenoPro which also includes the revised NL-BE skins you recently published.  Dan has said to me previously that he will create a 'silent update' of GenoPro 2020 in a few weeks time.


'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