Article View: borland.public.cppbuilder.database.ado
Article #857Re: ADO begginer
From: Tomislav Hundrić
Date: Fri, 24 Jun 2005 09:05
Date: Fri, 24 Jun 2005 09:05
46 lines
2788 bytes
2788 bytes
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> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: > 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:
<42bbccc7@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42bb2437@newsgroups.borland.com> <42bba97c@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,9b3472ac92b88f2e X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,UTF8 Date: Fri, 24 Jun 2005 11:05:22 +0200 From: Tomislav Hundrić <rif@net.hr> User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: ADO begginer References: <42bb2437@newsgroups.borland.com> <42bba97c@newsgroups.borland.com> In-Reply-To: <42bba97c@newsgroups.borland.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 83.131.76.23 Message-ID: <42bbccc7@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1119603911 83.131.76.23 (24 Jun 2005 02:05:11 -0700) Lines: 46 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail