Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there Y2K problem in FoxPro ?
Message
From
22/10/1997 11:17:40
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, United States
 
 
To
22/10/1997 10:30:28
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00056026
Message ID:
00056044
Views:
25
>I am dealing with a project in Visual Foxpro which is having a database of Historical data. I am facing with the problem of entering date that is before 100th century. AD. how do I solve this problem?
>
>When I was printing OLE bound picture objects from reports, Windows-95 is giving illegal operation and closing the program. Why it is doing so? I deal with pictures dynamically, that is the user will create pictures and stores in the 'general' field, and the problem I am facing is with only printing. Please suggest a way to avoid this.
>
>Try to advise me as early as possible.
>
>---Satya
>You can mail to me at --------- spvedulla@hotmail.com

You should've posted these as separate questions. I'll try to answer the first.

I assume you meant the 1st Century. VFP won't take dates prior to 01/01/100.

I would pick a century far enough in the future...say 90 and make that your baseline for 0 AD and then set up a flag field to identify those date prior to 100 AD and make your 'rollover' century (for you application's purpose only) say, 30. That gives you 6000 years of 'BC' dates to use as well. Make your adjustments to any dates calculations as needed

Oh, I just thought of something, make sure the leap years match.

HTH
Matt McDonnell
...building a better mousetrap with moldy cheese...
Previous
Reply
Map
View

Click here to load this message in the networking platform