🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ADO begginer

#856
From: Viatcheslav V. Vassiliev
Date: Fri, 24 Jun 2005 06:34
35 lines
2392 bytes
1. Create new project.
2. Drop TADOConnection on main form.
3. Press "ConnectionString button" (...).
4. Press "Build".
5. Choose "Microsoft Jet 4.0 OLE DB provider". Press "Next"
6. Set Data Source to "C:\Temp\Test.mdb" or to .mdb file you have.
7. Press Check Connection - it should be successfull.
8. Press OK.
9. Set LoginPrompt property to False;
10. Set Connected property to True.
11. Drop TADOTable on the form and set its Connection property to
ADOConnection1.
12. Set TableName to "YourTableName" - table name that exists in your
database.
13. Set Active property to True.
14. Add TDataSource and TDBGrid on the form, connect them to ADOTable1 as
usual (set DataSource1's DataSet property to ADOTable1 and DBGrid1's
DataSource property to DataSource1).

Now you should see your table in grid.

//------------------------------------------
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)

"Tomislav Hundric" <rif@net.hr> �������/�������� � �������� ���������: 
news:42bb2437@newsgroups.borland.com...
> Is there any good tutorial for absolute begginers. I have c++ builder 6 
> and MS Access installed. I want to know what else do I need to install to 
> get started!?
> please help 
Technical Details
Message-ID: <42bba97c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <42bb2437@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,9b3472ac92b88f2e
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <42bb2437@newsgroups.borland.com>
Subject: Re: ADO begginer
Date: Fri, 24 Jun 2005 10:34:35 +0400
Lines: 37
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 85.93.138.132
Message-ID: <42bba97c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1119594876 85.93.138.132 (23 Jun 2005 23:34:36 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail