🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Unspecified Error on Using MS Jet 4.0 OleDB provider

#2550
From: Viatcheslav V. Vassiliev
Date: Mon, 26 May 2003 10:26
49 lines
2296 bytes
Try

SELECT * FROM [TableName] WHERE [TableName].[FieldName] = "Value"

or just

SELECT * FROM [TableName] WHERE [FieldName] = "Value"

----------------------------------------------------------------
Regards,
Viatcheslav V. Vassiliev
http://www.oledbdirect.com
The fastest way to access MS SQL Server, MS Jet (MS Access)
and Interbase (through OLEDB) databases.

"Bulent COSKUN" <bulent.coskun@e-kolay.net> �������/�������� � ��������
���������: news:3ecf4d1a@newsgroups.borland.com...
> Hello,
>
> I write smiple code with using ADO Components in BCB6.
> I was designed my DB with ACCESS 2002.
> When I use Jet4.0 OleDB provider on ADOConnection Component,
> I getting "Unspecified Error".
>
> The Case:
> Set ADOConnection Conponent's ConnectionString with Jet4.0 OleDB Provider
> and Select .MDB file
> Than,
> Uset ADOQuery with SELECT * FROM TableName WHERE TableName.FiledName =
> "Value"  Statement
> Than,
> Execute to Query.
> "Unspecifed Error" appear.
>
> In Fact, When use "SELECT * FROM TableName" Statement in ADOQuery Object,
> Everything normal, and when I use ODBC provider everthing normal too.
>
> I didn't understand this case.
>
> Do you have any advice?
>
> Bulent C.
>
>
>
>
>
>
>
Technical Details
Message-ID: <3ed1ee7c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3ecf4d1a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,d126ce79b40b3bca
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-05-26 03:41:57 PST
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3ecf4d1a@newsgroups.borland.com>
Subject: Re: Unspecified Error on Using MS Jet 4.0 OleDB provider
Date: Mon, 26 May 2003 14:26:13 +0400
Lines: 51
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.247.201.57
Message-ID: <3ed1ee7c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1053945468 213.247.201.57 (26 May 2003 03:37:48 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail