Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: [half OT] Oracle and Microsoft Word
> What is the Connectionstring you are using ...
"DSN=Oracle" (just to test)
I have configured "oracle.dsn", including UID=scott and PWD=tiger.
What I don't understand is the following: the only way to open a datasource seems to use the orrible MSquery, through ODBC, or some methods of the "MailMerge" object.
I found the following example, on the internet, but it doesn't work:
.ConnectionString = "Provider=Oraoledb.oracle;data source=<tnsnamesentry>;user id=<username>;password=<password>;"
.Open
End With
Set rs = cn.Execute("select sysdate from dual")
dt = rs.Fields(0).Value
Selection.InsertAfter dt
End Sub
I wonder how, I wonder why...
...and nobody yesterday told me about the blue blue sky...
Regards Received on Fri Jan 23 2004 - 05:05:41 CST
![]() |
![]() |