🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ADO begginer

#858
From: Viatcheslav V. Vassiliev
Date: Fri, 24 Jun 2005 11:50
57 lines
3266 bytes
Yes. But for this I would recommend MSDE instead of Access.

//------------------------------------------
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:42bbccc7@newsgroups.borland.com...
> That was what I needed, it works fine. Thank you very much. Can you tell 
> me if ADO is solution for building application that would use database 
> stored on a server which would be accessible to few users for entering 
> data in it.
>
>
> Viatcheslav V. Vassiliev wrote:
>> 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> OIIAYEI/OIIAYEIA ? II?IOONE OIAAOAYAA: 
>> 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: <42bbf3a1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42bb2437@newsgroups.borland.com> <42bba97c@newsgroups.borland.com> <42bbccc7@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> <42bba97c@newsgroups.borland.com> <42bbccc7@newsgroups.borland.com>
Subject: Re: ADO begginer
Date: Fri, 24 Jun 2005 15:50:54 +0400
Lines: 58
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: <42bbf3a1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1119613857 85.93.138.132 (24 Jun 2005 04:50:57 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail