Article View: borland.public.cppbuilder.database.ado
Article #5042Re: Databases in C++ builder
From: J.J. gLUCK
Date: Mon, 06 Aug 2001 01:29
Date: Mon, 06 Aug 2001 01:29
32 lines
2206 bytes
2206 bytes
i'm sorry but i'm not quite sure about exactly what i'm supposed to do. (in addition, i'm using windows 98). say i have an access datbase located in C:\program files\borland\cbuilder\examples\data\customer.mdb. how do i read from this DB. tell me exactly what data-access controls and data-aware controls i need, and what properties of what components do ineed to set to what value. i'm disappointed that the book i have doesn' really explain this, and i'm having a hard time finding some info about this. if you are aware of any internet source of info realting to this please let me know. thank you so much , hope to hear from you jack Tharun Pillay wrote: > Word of advice: "Use ADO". > > When using TTable you have to use a database that has an ODBC data source > registered. With ADO, you can dynamically build a connection string that > connects to the data provider. Its nicer. > > To register a database to use ODBC, go to Control Panel->BDE Administrator. > Right click the Databases node, and select new. From the list choose Access > (or whatever). Then fill out the stuff on the right pane. > > To use an ODBC database using TTable, set the DatabaseName property to the > one you want to use. Then select the TableName. > > Regards, > Tharun
Technical Details
Message-ID:
<3B6DF2FD.BB70BB8B@bellatlantic.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3B6CB77F.E1924898@bellatlantic.net> <3b6dbcb5_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,784ed507684d28a6 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-08-05 18:38:36 PST Message-ID: <3B6DF2FD.BB70BB8B@bellatlantic.net> Date: Sun, 05 Aug 2001 21:29:33 -0400 From: "J.J. gLUCK" <wiz109@bellatlantic.net> X-Mailer: Mozilla 4.73 [en]C-CCK-MCD BA45DSL (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: Databases in C++ builder References: <3B6CB77F.E1924898@bellatlantic.net> <3b6dbcb5_2@dnews> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 162.84.169.204 X-Trace: dnews 997061468 162.84.169.204 (5 Aug 2001 18:31:08 -0700) Lines: 33 Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews