🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Problem connecting MSSQL

#3032
From: Ing Giuseppe Monteleone
Date: Sun, 29 Dec 2002 17:55
15 lines
1362 bytes
Hi guys,

I have a strange problem with MSSQL 2000. With a TADOConnection I can
connect only when i put the connection string in the Object Inspector. When
i put the same string with istruction

adoConnection->ConnectionString = conString;

does not work.

I need to assign it dinamically because I need to acess to two different
database (an user choice)

Thanks
Giuseppe Monteleone
Technical Details
Message-ID: <3e0f38cf$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,9ee150b859acac1e,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-12-29 10:09:54 PST
From: "Ing Giuseppe Monteleone" <info@ing-monteleone.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Problem connecting MSSQL
Date: Sun, 29 Dec 2002 18:55:36 +0100
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
NNTP-Posting-Host: 80.104.6.113
Message-ID: <3e0f38cf$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1041184975 80.104.6.113 (29 Dec 2002 10:02:55 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail