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: [half OT] Oracle and Microsoft Word

Re: [half OT] Oracle and Microsoft Word

From: tojo <Tojo_at_hotmail.com>
Date: Fri, 23 Jan 2004 11:56:47 +0100
Message-ID: <MPG.1a7b1c5d137e6c9b9896d0@news.t-online.de>


In article <buqqof$m6n$1_at_grillo.cs.interbusiness.it>, nobody_at_nowhere.com says...
> Hello,
> I don't know where to post my question, so please be patient if this is not
> properly the right place.
>
> Simply, I want to connect to oracle using Microsoft Word VB.
> I have configured an ODBC DSN.
> Reading VB help, I didn't find useful information to successfully connect,
> and use a recordset to navigate through data. It seems everything is tied to
> MailMerge.
>
> I read some examples, but they didn't work. They used ODBC and ADO
> conncetions, both don't work on my Word 2000 (using oracle 9.2).
>
> My VB macro returns "unknown user-defined type" error, on declaration of
> variable (test1, in my case) in the following ways:
> - Dim test1 As ADODB.Connection
> - Dim test1 As Connection
> - Dim test1 As New Connection
> - Dim test1 As Recordset
>
> So, I'm going to thing I'm missing something...
>
> Regards
>
>
>

You may have forgotten to add a reference to "Microsoft ActiveX Data Objects" in your project (menu Tools/References). Otherwise Word doesn't know what an "ADODB.Connection" is.

Received on Fri Jan 23 2004 - 04:56:47 CST

Original text of this message

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