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

GenoPro Support Forum




Report generator does not take into account family line

Click to view RSS...
Author He is an only child should not be displayed if 'family line' is set to possibly more children or to be completed.
Posted Tuesday, March 6, 2007 - Post #16652
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.0.0.2

Last Login: Monday, September 28, 2015
Posts: 2, Visits: 36
"He/She is an only child" should not be displayed if 'family line' is set to possibly more children or to be completed.

I think that the statement should instead be omitted, as at that point, it is only an assumption on the software's part.

Does anyone know how I might omit the statement myself, by changing the coding of my report's skin?  I have searched for the code, but I had no luck when I attempted to comment out line 153 in Lang.vbs and regenerate the report.  I had, though, expected to find some reference in individual.htm to the individual being an only child.

Dictionary.xml:
961: <AnnotationDeath T="{ &#32;}{\U}{0} {1} an only child." />

Lang.vbs:
153: WriteHtmlAnnotation Dic("AnnotationDeath"), d.Comment

Posted Tuesday, March 6, 2007 - Post #16653
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 2.5.4.0

Last Login: Thursday, January 11, 2024
Posts: 386, Visits: 4,475
set to possibly more children or to be completed.

In Version 2007 the report will say either:-

"They have a daughter named B.  There are possibly more children"  OR

"They have a daughter named B.  The family line is yet to be completed"
 
Are you using the latest version of the software?


Poolzone  a mere cog in a revolution

Edited: Tuesday, March 6, 2007 by poolzone
Posted Wednesday, March 7, 2007 - Post #16679
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.0.0.2

Last Login: Monday, September 28, 2015
Posts: 2, Visits: 36
I am running GenoPro 2007 v2.0.0.3.

The error does not occur on pages referring to a parents' children.  I can see that the statement "They have a son named Ian.  The family line is yet to be completed." is quite correct.  But if I then go to Ian's page, his page reads "Ian was born on **date hidden on Forum**.  Ian's father is Jim **Surname hidden** and his mother is Erika.  He is an only child.

It is this statement, "He is an only child" which I believe should not be written in the report, as it is not a fact until the family line is completed.

Any suggestions?

Posted Wednesday, March 7, 2007 - Post #16685
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 2.5.4.0

Last Login: Thursday, January 11, 2024
Posts: 386, Visits: 4,475
Some discussion on this matter is at http://support.genopro.com/Topic14598-60-1.aspx

However the changes effected did not include the individual page of the report and Ron may wish to again revisit this matter and advise on his thoughts.

Poolzone  a mere cog in a revolution

Posted Thursday, March 8, 2007 - Post #16693
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: 1 hour ago
Posts: 3,423, Visits: 26,472
Yes I believe this to be a bug. The report must stick to the known facts. The solution is quite simple. Just change Lang.vbs in a Customized skin as follows:

change line 436 from 
    Report.WritePhraseDic "PhOnlyChild", PnP(i), ToBe(i)
to
    If f.FamilyLine.ID ="NoMoreChildren" Or f.FamilyLine.ID = "" Then Report.WritePhraseDic "PhOnlyChild", PnP(i), ToBe(i)

I'll add this to the next release.

By the way:

mattybrown1985
Dictionary.xml:
961: <AnnotationDeath T="{ &#32;}{\U}{0} {1} an only child." />

If you have this line in your Dictionary.xml file then it is corrupted!


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Thursday, March 8, 2007 - Post #16702
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.5

Last Login: Saturday, March 14, 2020
Posts: 365, Visits: 3,680
Ron (3/8/2007)
I'll add this to the next release.

Hi Ron,

Any chance of adding the full dates to the xml tool for the next update instead of just the year of marriage and divorce as here :- m. 1909 - d. 1920       Ermm         

This is what was in the old  xml tool :-  m. 7 Sep 1909 - d. 20 Jan 1920 Rolleyes

Thanks Iain

Edited: Thursday, March 8, 2007 by GenoProSupport

Posted Wednesday, March 14, 2007 - Post #16814
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Customers
GenoPro version: 3.1.0.1

Last Login: Thursday, April 24, 2025
Posts: 55, Visits: 1,501
Ron,

I made the change in Lang.vbs, but reports an error. Please see attached file.

Clipboard01.jpg (70 views, 76.68 KB)

Posted Wednesday, March 14, 2007 - Post #16815
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
Translator
GenoPro version: 3.1.0.1

Last Login: Wednesday, April 23, 2025
Posts: 102, Visits: 2,089
ccampos (3/14/2007)
Ron,

I made the change in Lang.vbs, but reports an error. Please see attached file.

Hi Carlos,

That's becuse you are using the "customized spanish narrative report"...with that skin the line 436 in Lang.vbs must be:

If f.FamilyLine.ID ="NoMoreChildren" Or f.FamilyLine.ID = "" Then Report.WritePhraseDic "PhOnlyChild_" & i.gender.id, PnP(i), ToBe(i)

Regards

Hugo.

PS. The skin in spanish is now updated http://support.genopro.com/FindPost15978.aspx

Edited: Wednesday, March 14, 2007 by GenoProSupport



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 5 - 1 guest, 3 members, 0 anonymous.
Refresh