Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: [odbc] SQLDriverConnect with a user identified externally
When connecting to an OPS$ account the usual process is to place a
forward
slash (/) in the userid field and leave the password blank. With ODBC
the same
thing is achieved by leaving the userid and password fields blank. So
how do
you do the same with an OpenDatabase call in VB? The following code
extract
demonstrates this:
Connect$ = "ODBC;DSN=" + "LOCAL" + ";" _
& "UID=" + "" + ";" _
& "PWD=" + ""
Set OracleDatabase = OpenDatabase("", False, False, Connect$)
When interactively connecting, simply leave the Username and Password fields BLANK Received on Tue May 26 1998 - 09:54:32 CDT