Board index » delphi » Delphi Paradox Tables & Y2k
BRIAN SHIGLEY
![]() Delphi Developer |
Mon, 25 Mar 2002 03:00:00 GMT
|
BRIAN SHIGLEY
![]() Delphi Developer |
Mon, 25 Mar 2002 03:00:00 GMT
Delphi Paradox Tables & Y2k
I would like to know what steps I need to take to ensure my app. works on
January 1st. I am using Delphi 4 with Paradox 7 tables. I realize I need to go to the BDE settings and change my date/time settings to four digits. What is required for the Paradox 7 table settings themselves? Is there a Y2K change that forces the tables to actually store the data as four digits and therefore allows submission of queries etc? thanks |
Arne Alle
![]() Delphi Developer |
Mon, 25 Mar 2002 03:00:00 GMT
Re:Delphi Paradox Tables & Y2kI would like to know that, too! Arne. QuoteBRIAN SHIGLEY <@In-Touch.Net> wrote in message Quote>I would like to know what steps I need to take to ensure my app. works on |
Arne Alle
![]() Delphi Developer |
Mon, 25 Mar 2002 03:00:00 GMT
Re:Delphi Paradox Tables & Y2kI would like to know that, too! Arne. QuoteBRIAN SHIGLEY <@In-Touch.Net> wrote in message Quote>I would like to know what steps I need to take to ensure my app. works on |
Sanford Aranof
![]() Delphi Developer |
Mon, 25 Mar 2002 03:00:00 GMT
Re:Delphi Paradox Tables & Y2kAll date info is Y2K compliant. Read Inprise's White Paper. Just be sure you give the proper interpretation to the user's data. QuoteBRIAN SHIGLEY <@In-Touch.Net> wrote in message Quote>I would like to know what steps I need to take to ensure my app. |
Art Begu
![]() Delphi Developer |
Mon, 25 Mar 2002 03:00:00 GMT
Re:Delphi Paradox Tables & Y2kPut shortDateFormat := 'mm/dd/yyyy' (or something similar) in the oncreate of your mainform too QuoteBRIAN SHIGLEY <@In-Touch.Net> wrote in message Quote> I would like to know what steps I need to take to ensure my app. works on |
Bill Tod
![]() Delphi Developer |
Mon, 25 Mar 2002 03:00:00 GMT
Re:Delphi Paradox Tables & Y2kParadox tables have stored the full date since version 1.0 for DOS. You may want to add the line ShortDateFormat := 'mm/dd/yyyy'; to your main form's OnCreate event handler to ensure that dates are Bill -- Bill Todd - TeamB |
Arne Alle
![]() Delphi Developer |
Tue, 26 Mar 2002 03:00:00 GMT
Re:Delphi Paradox Tables & Y2kThanks (important information that all versions of paradox have yyyy format). Arne. QuoteBill Todd wrote in message <7tj58k$sl...@forums.borland.com>... |
Markku Nevalaine
![]() Delphi Developer |
Tue, 26 Mar 2002 03:00:00 GMT
Re:Delphi Paradox Tables & Y2kQuoteBill Todd wrote: some running float number of seconds, starting from 1970 or something, a la Unix. I mean, when you test Paradox database with Norton 2000 test application, The whole Norton 2000 test package looks and feels very clumsy, I don't Markku Nevalainen |
Art Begu
![]() Delphi Developer |
Tue, 26 Mar 2002 03:00:00 GMT
Re:Delphi Paradox Tables & Y2kI believe if you check Borland's Y2K site, your questions will be answered. The 0 date varied in different versions of the BDE and required a little programming when I moved from D1 (16 bit) to D3 (32 bit). If you choose to use 2 digit years, you are likely to run into problems as indicated on Borland's site because even the 32 bit versions of the BDE were somewhat inconsistent. If you are 32 bit and using 4 digit years you and your customers should have little to worry about. But be sure to read the Borland site because there are a couple of issues in the older 32 bit versions. If you are still doing 16 bit, hope you aren't using dates! QuoteMarkku Nevalainen <m...@iki.fi> wrote in message news:37FE66C7.63BF@iki.fi... |
Brian Bushay Tea
![]() Delphi Developer |
Wed, 27 Mar 2002 03:00:00 GMT
Re:Delphi Paradox Tables & Y2kQuote>But how are the Date values stored in Paradox tables actually? Is it -- |
Markku Nevalaine
![]() Delphi Developer |
Wed, 27 Mar 2002 03:00:00 GMT
Re:Delphi Paradox Tables & Y2kQuoteArt Begun wrote: I better do believe what Team-B said, that the Paradox Date field is a floating Quote> If you choose to use 2 digit years, you are likely Control Panel, or settings from BDE Config? I think that neither of these settings has any effect. Paradox will always Quote> If you are 32 bit and using 4 digit years you and your customers D3/BDE 4.51, and then happily use them with D1/BDE 2.52. Or vice versa, create with D1 and then use with D3. This is due to that fact, that the Paradox 4.0 and 5.0 database formats For what I think, the problem I mentioned with Norton 2000 test program Of course I can be wrong here. And that's why, any comments on this matter?? Markku Nevalainen |
Bill Tod
![]() Delphi Developer |
Wed, 27 Mar 2002 03:00:00 GMT
Re:Delphi Paradox Tables & Y2kThe base date for Paradox dates has been 1/1/0001 since version 1.0 for DOS. It has never changed. Bill -- Bill Todd - TeamB |
Art Begu
![]() Delphi Developer |
Thu, 28 Mar 2002 03:00:00 GMT
Re:Delphi Paradox Tables & Y2kThinking back, I guess my problems were with null dates. In D1 they displayed as blanks. In D3 they displayed as a date in 1899. I presumed that the BDE was internally treating them as a zero date. Sorry for the incorrect statement. I'm getting old and my memory is imperfect sometimes. Here is Borland's Y2K info: In any case, D1 is not being tested by Borland if |