Approximate Dates in Report
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        



Approximate Dates in Report Expand / Collapse
Author
Message
Post #14843 Posted 12/1/2006 7:55:10 AM
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 5:19:42 AM
GenoPro Version: 2.0.1.5
Posts: 311, Visits: 1,892
This has been around since the option was introduced to use approximate dates of birth and death in the Genogram, but I have only just noticed that the approximation indicator (~) is omitted in the index and the narrative parts of the report, whereas the SVG reflects the original Genogram - see highlighted points below:

Would it be possible to include the ~ within the report?

Post #14844 Posted 12/1/2006 8:44:42 AM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 9:31:29 AM
GenoPro Version: 2.0.1.6
Posts: 3,517, Visits: 14,852
At this point of releasing GenoPro 2.0, it is very risky to make a modification which may cause a bug somewhere else.  Ron is the expert regarding the report generator.  If he feels comfortable making the change and the impacts are not too significant, then this improvement is a big welcome.

Post #14857 Posted 12/1/2006 12:29:34 PM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 10:20:31 AM
GenoPro Version: 2.0.1.6
Posts: 1,145, Visits: 5,355
I have not shown approximate dates as yet because I am not aware of any Report Generator property or method for extracting such dates. I have just done a bit of experimenting and the only way I can find to extract an such approximate dates is to use Individual.TagValue("Birth.Date") as check the result.

 But I wonder if there any built-in methods available? The .ToString(<format> ) method only seems to work for a full date, i.e. with day, month and year present. I have found that the only viable method to check or format dates is ToStringNarrative that formats the date as per the control panel. If there are no built in methods then yes I can provide some code without too much effort or risk that will check for approximate dates and report accordingly.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Post #14862 Posted 12/1/2006 3:46:52 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 9:31:29 AM
GenoPro Version: 2.0.1.6
Posts: 3,517, Visits: 14,852
Future updates will include more properties and methods to format dates.  At the moment, I don't think there is a way to output the approximation symbol.

Post #15021 Posted 12/6/2006 6:27:52 AM
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 5:19:42 AM
GenoPro Version: 2.0.1.5
Posts: 311, Visits: 1,892
Well done :: v2b20d has the solution for 3 out of the 4 highlighted:

The only missing one is the Ancestor Pedigree Chart, but that is less important.

Post #15083 Posted 12/7/2006 4:42:35 PM


Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 4/12/2008 6:04:03 AM
Posts: 11, Visits: 164
Why did the report generator that?




In the program I use only one ~ !

Post #15091 Posted 12/8/2006 5:19:14 AM


Forum Expert

Forum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum Expert This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: Today @ 5:23:18 AM
GenoPro Version: 2.0.1.4
Posts: 75, Visits: 266
There is a problem with approximate dates where the exact birth date is known and the date of death is approximated.  As an example:

Date of Birth: 7 Mar 1779  Date of Death: >1826

The report prints "He died at the age of 47 after 1826." Obviously, there is no way of knowing how old he was when he died as the date of death is approximated.

I would suggest that the age not be calculated/printed if any date is an apoproximation.

Post #15104 Posted 12/8/2006 3:13:10 PM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 10:20:31 AM
GenoPro Version: 2.0.1.6
Posts: 1,145, Visits: 5,355
Why did the report generator that?

It does look a bit strange. Are you using a customised report skin? The standard skin only shows year of birth whereas your example has some full dates hence I assume a custom skin is being used. The repeated approximation symbol may be due to a problem with the Date.ToString method. However I cannot explain the doubling of dates. Can you give more details of your customisation?

I would suggest that the age not be calculated/printed if any date is an apoproximation.

I agree. I had missed this issue. I will tweak the report to exclude age at death if date of birth or death are approximated.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Post #15105 Posted 12/8/2006 3:55:39 PM


Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 4/12/2008 6:04:03 AM
Posts: 11, Visits: 164
Thanks Ron.

I used this symbol "~" before 20d too. When I make a new file whit 20d and use the ~ the report is good. But if I use my original file which cointains ~ symbols the report looks like in the picture.

I used the original skin.

There is one of my files:
http://palmai.uw.hu/test_1.gno