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

GenoPro Support Forum




Error on displaying family detais

Click to view RSS...
Author
Posted Monday, May 21, 2007 - Post #17812
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 3.1.0.1

Last Login: Wednesday, May 6, 2026
Posts: 213, Visits: 4,465
on Ver: 2.0.0.5

When changing the tag "fHideFamilyDetails" on config.xml from "Y" to "N" I get this error massege when trying to generate a report:

Error at line 316 (Code/Lang.vbs) generating 'Beraha-Rivka-ind00676.htm': ‏‏מספר ארגומנטים שגוי או הקצאת מאפיין לא חוקית: 'StrPossessiveProperNoun'

‏‏שגיאת זמן ריצה של Microsoft VBScript 800A01C2

It worked fine on ver 2.0.0.4

Replies
Posted Tuesday, May 22, 2007 - Post #17841
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.0.1.6

Last Login: Tuesday, November 10, 2015
Posts: 102, Visits: 499
For those who want to change this in order to get going:

Change code/lang.vbs line 316

from:

strHyperlinkText = Dic.FormatPhrase("PhFamilyWith", StrPossessiveProperNoun(i.Session("NameShort")), Dic.Ordinal(nFamily), strSpouseName, "")

to:

  strHyperlinkText = Dic.FormatPhrase("PhFamilyWith", StrPossessiveProperNoun(i.Session("NameShort"),Nothing), Dic.Ordinal(nFamily), strSpouseName, "")

and change the same way line 332 to:

  WriteHtmlPicturesLarge spouse, "", Dic.FormatString("FmtPictures", StrPossessiveProperNoun(Util.StrFirstCharUCase(strSpouseType), Nothing)), ""

Posted Tuesday, May 22, 2007 - Post #17843
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: 52 minutes ago
Posts: 3,487, Visits: 27,240
Thanks for providing a solution to this Ronald. I do have a different solution to the first instance in my development version of the skin that I will make available in a few days.

You could use i.Session("NamePossessive") instead of StrPossessiveProperNoun(i.Session("NameShort"),Nothing)

I think I can improve the efficiency of my code in the 2nd usage by perhaps storing the possessive form of the spouse name alternatives in the Dictionary. A 'P' attribute is already used for Plural forms so I could use 'G' for genetive case as sometimes this appears to be used in place of the word possessive.


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


Edited: Wednesday, May 23, 2007 by Ron
Posted Wednesday, May 23, 2007 - Post #17848
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.0.1.6

Last Login: Tuesday, November 10, 2015
Posts: 102, Visits: 499
Ron,

You're welcome. In no way I intended to give the best possible solution. I just wanted to go ahead immediately and therefore came up with this fix. It's a fix that is purely syntactical of nature, not knowing the exact contents of the report.

rgds,

Ronald

Edited: Wednesday, May 23, 2007 by rboshuis




Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse