🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: MSAccess

#223
From: Vassiliev V. V.
Date: Wed, 04 Jul 2007 07:10
29 lines
2143 bytes
Connection string:

Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\yourfile.mdb

TableName is property of TADOTable.

It is better to use TADODataSet with client-side cursor and add where clause 
to SQL command to retrieve only rows you need.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)



"Don" <dgnospamlocke@comcast.net> ???????/???????? ? ???????? ?????????: 
news:468acb73$1@newsgroups.borland.com...
> I'm attempting to use the dbGo components to access a MSAccess database.
> I can setup the ADOConnection & it says that the connection is good. I
> then drop an ADOTable component & set the connection to the
> ADOConnection.  When I attempt make it active, it complains about the
> tablename not being set.  I don't find tablename anywhere in the object
> inspector.  Where is it? Or am I not understanding how to use these
> components?
> Don 
Technical Details
Message-ID: <468b4842@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <468acb73$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,e7be8e475361ea66
X-Google-Attributes: gid10698b,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Vassiliev V. V." <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <468acb73$1@newsgroups.borland.com>
Subject: Re: MSAccess
Date: Wed, 4 Jul 2007 11:10:15 +0400
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-RFC2646: Format=Flowed; Response
X-Antivirus: avast! (VPS 000753-2, 03.07.2007), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 85.93.138.132
Message-ID: <468b4842@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1183533122 85.93.138.132 (4 Jul 2007 00:12:02 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail