By Jordi-Albert - Sunday, April 14, 2024
|
On the Individual page is a section with the families of this individual.
we are using the Dictionary label "PhFamilyWith" and now we are using 7 parameters on the Lang.vbs (line 690) is all ok and it was running ok. but today, I don't know why, I have an error on this sentence. after a lot of debugging, I saw that it not using the Lang.vbs file. It is using the "Util.vbs" file (line 2381) and in this file we are sending only 5 parameters. I can't understand why it's using now this "util" file and not the "Lang" one
|
By genome - Monday, April 15, 2024
|
Well historically I think Lang.vbs contained routines that were language specific whilst Util.vbs contained 'utility' routines. However the distinction between them has become blurred over the years.
PhFamilyWith in Lang.vbs is used as a sub heading when where the family details are placed on the Individual page. This is the case when the option 'Suppress family details on Individual pages?' is not set on the Content tab of the Generate Report dialogue. Otherwise the individual page just contains a link to the family page(s) and in this case PhFamilyWith is used in Util.vbs I have changed Util.vbs to add the extra parameters to the PhFamilyWith usage. I also discovered a bug when more than one family, where the ordinal number of the family was not reported. This has also been corrected. the Util.vbs file required is attached to post https://support.genopro.com/FindPost44014.aspx
|
By Jordi-Albert - Monday, April 15, 2024
|
genome (15-Apr-2024) the option 'Suppress family details on Individual pages?'
Correct. this was the parameter
|