Storing User-defined date in the .gno file.
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 )
        


Storing User-defined date in the .gno file. Expand / Collapse
Author
Message
Post #13064 Posted 9/13/2006 9:07:02 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Customers
Last Login: Today @ 3:04:35 AM
GenoPro Version: 2.0.1.6
Posts: 26, Visits: 530
Hi,

Thanks to the 'How to' forum I now know how to set a user-defined date rather than have GenoPro use my PC's system date...

However, it would be useful if this user-defined date was stored in the .gno file, and not 'remembered' by GenoPro. I have several files I am working on, including my own family tree, and I get some really weird displayed ages until I remember to go into the options to change the date.

Having GenoPro always use the system date by default, but having the relevant .gno file override it where required would be really handy.

A small request for a great program!

Cheers,

John

Post #13065 Posted 9/13/2006 9:20:02 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: Yesterday @ 8:36:46 AM
GenoPro Version: 2.0.1.6
Posts: 3,534, Visits: 14,913
Can you give an example of a "user-defined" date?  If you enter a date not understood by GenoPro, GenoPro will interpret the date as plain text and keep it as-is.

Post #13066 Posted 9/13/2006 9:28:29 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Customers
Last Login: Today @ 3:04:35 AM
GenoPro Version: 2.0.1.6
Posts: 26, Visits: 530
I originally asked how to stop GenoPro from using the system date as I am using the program to keep track of fictional characters for a novel I am writing set in the 11th century. Using the system date either marked all my characters as dead, or listed their ages as 999 years!

I was kindly pointed to the tools -> options screen where I could enter a user defined date that stopped GenoPro taking the date from my computer's system clock.

This is great and works fine - I have set the date for 1085 and everything shows correct. But now, when I load my own perosnal family tree which I am also working on, everyone has negative ages until I go back into options and reset GenoPro to use the system date - and then when I re-load my fictional tree I have to tell the program again to stop using the system date and switch back to the user-defined date.

If this could be stored as appropriate in the .gno file it make everything so much easier.

Thanks for such a quick response by the way.

John

PS - beta 18 c

Post #13067 Posted 9/13/2006 9:42:18 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: Yesterday @ 8:36:46 AM
GenoPro Version: 2.0.1.6
Posts: 3,534, Visits: 14,913
Ha, I understand.  I thought you wanted a user-defined date for some sort of custom calendar.  GenoPro remembers the user-defined date entered in the Options dialog (Menu -> Tools -> Options), however if you change computer, you have to set this date again.

We are currently revising the .gno file format.  We are designing sections of this file format to store additional data, mostly user preferences.

Post #13068 Posted 9/13/2006 9:48:10 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Customers
Last Login: Today @ 3:04:35 AM
GenoPro Version: 2.0.1.6
Posts: 26, Visits: 530
Thanks for that! I'll be looking forward to that feature in whichever beta will first implement it.
Post #13072 Posted 9/13/2006 11:48:21 AM
Forum Expert

Forum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum Expert

Group: Customers
Last Login: 2 days ago @ 5:03:01 PM
GenoPro Version: 2.0.1.6
Posts: 77, Visits: 456
I'm not sure Prydwyn's issue was fully understood. A 'user-defined' date appears to be stored/remembered in the GenoPro software for all .gno files as opposed to storing the 'user-defined' date for individual .gno files.

So say Prydwyn creates a file mynovel.gno and then a file myfamily.gno. It would be good to have the mynovel.gno 'user-defined' date set to 1085 and then have myfamily.gno set to the 'system' date. It seems right now GenoPro sets the same date, 'user-defined' or system for all .gno files. So Prydwyn needs to constantly change the date when switching between files.

Would this be fixable?
Post #13073 Posted 9/13/2006 11:54:30 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: Yesterday @ 8:36:46 AM
GenoPro Version: 2.0.1.6
Posts: 3,534, Visits: 14,913
This is what I understood - each file could contain their reference date.  At the moment, GenoPro uses a global variable to store the reference date (whatever from the system clock or user-supplied date).  There will be a need to change the code to pass the reference date as a parameter instead of using the global variable.

Post #13074 Posted 9/13/2006 12:00:50 PM
Forum Expert

Forum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum Expert

Group: Customers
Last Login: 2 days ago @ 5:03:01 PM
GenoPro Version: 2.0.1.6
Posts: 77, Visits: 456
GenoProSupport (9/13/2006)
This is what I understood - each file could contain their reference date. At the moment, GenoPro uses a global variable to store the reference date (whatever from the system clock or user-supplied date). There will be a need to change the code to pass the reference date as a parameter instead of using the global variable.


Okay. This reply is clearer to me. Thank you.
Post #13088 Posted 9/13/2006 6:07:12 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Customers
Last Login: Today @ 3:04:35 AM
GenoPro Version: 2.0.1.6
Posts: 26, Visits: 530
To GenoPro Support -

Your first answer to my question got me thinking...

As I primarily use GenoPro for cataloging fictional characters and their relationships in a fictional setting... how hard would it be to define a completely fictional calendar (ie 10 months to a year, five weeks to a month, 9 days to a week, plus a 3 week 'holy festival' that sits in the middle?

The thought of being able to do that with GenoPro makes me salivate with anticipation!!

Cheers,

John

Post #13090 Posted 9/13/2006 8:29:06 PM


IT Director GenoPro

IT Director GenoProIT Director GenoProIT Director GenoProIT Director GenoProIT Director GenoProIT Director GenoProIT Director GenoProIT Director GenoPro  

Group: Customers
Last Login: 2 days ago @ 7:02:01 AM
GenoPro Version: 2.0.1.6
Posts: 458, Visits: 5,981
This would implied a creating custom calendar. GenoPro already have support for many calendar, maybe one day you will be able to add your own.

I think this would be possible along with plug-in.


If the facts don't fit the theory, change the facts.
-- Albert Einstein

Jean-Claude Morin
Information Technology Director, GenoPro.
http://www.genopro.com

Post #13129 Posted 9/15/2006 2:45:52 AM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 2:18:48 AM
GenoPro Version: 2.0.1.6
Posts: 191, Visits: 2,771
Just to repeat from psot 'calendar error' for the answer that GenopPro supports only one calendar per .gno:

You should rethink about this. Just to see the two examples:
1. the tree spans several centuries, where the Julian and Gregorian dates will definitely be mixed. And the change from Julian to Gregorian happened different times in the different countries.
2. the tree spans several continents. Some details are in Gregorian (people came from Europe), some are in Japanese...

My opinion is - I wrote in a topics far ago, so I could not really remember, when - that two types of calendars must be maintained by GenoPro. One is the so-called reference calendar, which is used solely by Genopro internally for calculations and to store the values. The other type of calendar is for presentation purposes, i.e. used to display the reference date value in a format the user prefers (also in reports). This means, that you should maintain the cross referencing between the reference calendar and the display calendars.

Moreover, this will let you (after 2.0 [Tongue] , of course) to let the user defining their own calendars. Like for the old Kingdom of Egypt, or fictional calendars, like for the Lord of the Rings.



Feri