🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #2714

Searching Access table by Date?

#2714
From: Ivo Karindi
Date: Fri, 11 Apr 2003 19:47
11 lines
1300 bytes
Just wondering how should I go by searching an Access table by date using
ADO?

If  Field->get_Value(); returns a date like "3/28/2003", what should the SQL
look like to retrieve the record by that date?  Writing "select * from Table
where Date=3/28/2003" returns nothing since obviously the format that SQL
sees is different.

TIA,

Ivo Karindi
Technical Details
Message-ID: <3e971c16$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,f3b9f68c64c88857,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-04-11 12:55:25 PST
Reply-To: "Ivo Karindi" <solk@ieslc.com>
From: "Ivo Karindi" <solk@ieslc.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Searching Access table by Date?
Date: Fri, 11 Apr 2003 22:47:25 +0300
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 213.35.136.182
Message-ID: <3e971c16$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1050090518 213.35.136.182 (11 Apr 2003 12:48:38 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail