Article View: borland.public.cppbuilder.database.ado
Article #4380ADO Connection -- connection string
From: Glenn MacGregor
Date: Fri, 18 Jan 2002 21:44
Date: Fri, 18 Jan 2002 21:44
18 lines
1500 bytes
1500 bytes
Hi All,
I am using an ADOConnection to talk to a database. I have the ODBC set up
correctly. It seems that when I created the connectionstring it took the
DBHost and hardcoded it into the object. I have tired to set the
ConnectionString on the fly when I get the db host, but as soon as I get to
an operation like open on a ADOQuery I get an error saying that the
"OBCD Driver does not support the requested properties"
This exact connectionstring worked fine when it was set at design time.
Any clues?
Thanks
Glenn
Technical Details
Message-ID:
<3c489622$1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.he.net!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,46427ca06c4e9a92,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-01-18 13:40:51 PST From: "Glenn MacGregor" <gtm@oracom.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: ADO Connection -- connection string Date: Fri, 18 Jan 2002 16:44:47 -0500 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 63.238.138.126 Message-ID: <3c489622$1_2@dnews> X-Trace: dnews 1011389986 63.238.138.126 (18 Jan 2002 13:39:46 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.he.net!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews