GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
Report generator does not take into account family line


https://support.genopro.com/Topic16652.aspx
Print Topic | Close Window

By mattybrown1985 - Tuesday, March 6, 2007
"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

By Poolzone - Tuesday, March 6, 2007
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?
By mattybrown1985 - Wednesday, March 7, 2007
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?

By Poolzone - Wednesday, March 7, 2007
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.

By genome - Thursday, March 8, 2007
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!

By IainTait - Thursday, March 8, 2007
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

By ccampos - Wednesday, March 14, 2007
Ron,

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

By haep - Wednesday, March 14, 2007
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