Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Connect String for VB

Re: Connect String for VB

From: Matthias Gresz <GreMa_at_t-online.de>
Date: 1997/12/29
Message-ID: <687j63$cq4$1@news00.btx.dtag.de>#1/1

David Wong wrote:
Hi David,

try

    Set dbGblMakler = OpenDatabase(<DataBaseAlias>, False, False, "ODBC; SRVR=[ODBC Host name]; UID=[Login Name]; PWD=[User Password]")

>
> Hi All
>
> In our office we use RS6000 and Oracle 7.3. The Oracle client installed
> correctly, I used SQL worksheet for log onto Oracle backend and everything
> is working. I can even set up ODBC and link table to an MS Access 97 MDB
> file. But I had problem using the following connect string within VB
>
> "DSN=[DSN Name];UID=[Login Name];PWD=[User Password];"
> "driver={Oracle73};DBQ=[ODBC Host name];UID=[Login Name];PWD=[User
> Password];"
>
> I have two errors message, one said 'Descriptor out of range', and the other
> 'Login failed'
>
> Please reply to dpwong_at_teletechintl.com
>
> Thanks in Advance
>
> bye
 

-- 
Regards

Matthias Gresz    :-)
Received on Mon Dec 29 1997 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US