FYI:
"The date format is used by QBE (Query By Example language) for input and
wildcard character matching. It is also used by batch operations (such as
DbiDoRestructure and DbiBatchMove) to handle data type coercion between
character and date types."
ie I needed to set the date format in the BDE as well as Short date format,
when using batch moves.  (So it was not the OS, (sorry Bill)).
MP

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Michael Pelly
Sent: Thursday, June 14, 2001 4:58 PM
To: Multiple recipients of list delphi
Subject: [DUG]: Dates On NT4


Hi All,
I am having aproblem with dates on an NT4 machine.
Overview:
My program is doing a batch move from an ascii file to a Paradox table for
processing of the contained data.

Problem: the short date format is set by the program, initially.
This works fine on both win98 and win2k, but on NT4, the format of the date
in the ascii file is not recognised.
ie shortdateformat := 'dd/mm/yyyy';
date in file = 31/12/2000,
gives invalid date under NT4 (unfortunately, that is what the customer is
using).
Anyone come across this before and have an easy solution.
All help welcome.
Michael Pelly

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to