Article View: borland.public.cppbuilder.database.ado
Article #4592Updating a record with a Datetime field in Access using ADO
From: Mike Gilby
Date: Thu, 01 Nov 2001 18:11
Date: Thu, 01 Nov 2001 18:11
9 lines
1189 bytes
1189 bytes
Hi, I'm having a problem updating a record in Access 2000 with a Datetime field using ADO. My SQL statement is: UPDATE FileTrack SET LastTrack = 'L' WHERE Timea = '12/30/1899 3:11:11 PM' The error message I get is: "Data type mismatch in criteria expression.". Any help would be appreciated. Mike
Technical Details
Message-ID:
<3be1901e$1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,16214a3b4a4cdcf4,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-11-01 10:14:07 PST From: "Mike Gilby" <mogilby@hotmail.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: Updating a record with a Datetime field in Access using ADO Date: Thu, 1 Nov 2001 11:11:07 -0700 Lines: 11 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: 209.91.109.163 Message-ID: <3be1901e$1_2@dnews> X-Trace: dnews 1004638238 209.91.109.163 (1 Nov 2001 10:10:38 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews