The key driver seems to be the Windows setting for Short Date Format. Ensure
that is set to four-digit year.
That should resolve your issues - regardless of current date.
(At time of writing this setting gets lost on my PC at each re-boot and
reverts to yy - time to download the 95 patch and install!)

The BDE (5.00) settings seem to make no difference.
What FOURDIGITYEAR does is hard to figure out - I can't observe any
difference it makes.
I changed YEARBIASED to FALSE expecting a year entry of 0 to produce year 0
but it returns 1900 which is what you get with a TRUE setting.

The good news, IMO, is that there is no windowing. Full year entry is
required to explicitly set a date into this century or the next.

-----Original Message-----
From: Mark Howard <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Friday, 11 June 1999 11:29
Subject: [DUG]: Paradox Date Format


Hi Guys
In testing my recently written App for Y2K compliance and I have found
the following.
When my system date year is set to 1999 all dates in my Paradox tables
are displayed as yy
When my system date year is set to 2000 all existing dates are displayed
as yyyy.
BUT
When I then add new records dates for the year 2000 are displayed as yy
only. ie /00

I figured that I could fix this by changing the BDE System Date format
to 4 digit year but that has not worked. Didn't seem to alter anything.

I also tried putting the Help example of DbiSetFormat into my code
immediately before opening the tables in the app but got a message
saying "An error occurred while attempting to initialise the Borland
Database Engine $2A06"

I am not an exprienced programmer and would appreciate some pointers on
how to go about fixing this.
Using D3.0 and no aliases - database path is referenced directly.

TIA Mark


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to