Article View: borland.public.cppbuilder.database.ado
Article #4431dates
From: FretBuzzz
Date: Thu, 27 Dec 2001 20:58
Date: Thu, 27 Dec 2001 20:58
15 lines
1480 bytes
1480 bytes
Hi, My app uses a Paradox table. One of the fields in the table is of type "Date". In the app I manipulate the database using SQL and a TQuery component. My problem is that the system's short date format has to be "MM/dd/yyyy" before any queries that use the date field will work. When the system's short date format is "dd/MM/yyyy", my queries simply don't work - I keep getting an error message: "Type mismatch in expression" - even when I double check that the format of the date description in the sql statement is the same as that of the system. Can anyone tell me what I am doing wrong? Fret
Technical Details
Message-ID:
<3c2b8b64_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub1.nntpserver.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,9d0576b06b44b3df,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-12-27 13:09:38 PST Reply-To: "FretBuzzz" <gulanala@yahoo.com> From: "FretBuzzz" <gulanala@yahoo.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: dates Date: Thu, 27 Dec 2001 22:58:09 +0200 Lines: 17 Organization: Pvt X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 196.36.217.226 Message-ID: <3c2b8b64_2@dnews> X-Trace: dnews 1009486692 196.36.217.226 (27 Dec 2001 12:58:12 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub1.nntpserver.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews