Article View: borland.public.cppbuilder.database.ado
Article #3163Re: Create connection to ADO in run time
From: Andre Hayward
Date: Tue, 26 Nov 2002 04:56
Date: Tue, 26 Nov 2002 04:56
16 lines
1253 bytes
1253 bytes
ViatCheslav, Just wondering, I was working with an AnsiString for a runtime connection and it seems to work fine: AnsiString Str; Str = "....;Data Source=" + edtFolder->Text + ";......."; ConnectionString = Str; Connected = True; Andre >Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Temp\\Test.mdb; >Note '\\' as path separators.
Technical Details
Message-ID:
<3de2e6f1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mailReferences:
<3de09e83@newsgroups.borland.com> <3de0b98d@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,a4ebdf3218b0a278 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-11-25 19:15:34 PST From: jorhaypi@mweb.co.za (Andre Hayward) Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: Create connection to ADO in run time Date: Tue, 26 Nov 2002 04:56:39 GMT Organization: Jordaan Hayward Inc. References: <3de09e83@newsgroups.borland.com> <3de0b98d@newsgroups.borland.com> X-Newsreader: Forte Free Agent 1.0.82 NNTP-Posting-Host: 196.31.187.62 Message-ID: <3de2e6f1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1038280433 196.31.187.62 (25 Nov 2002 19:13:53 -0800) Lines: 19 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail