Data Base in MS Word

M

Mário Cordeiro

I want to know if it's possible to use ADO objects in word.
Is so, where are they? I don't have any.
Or, if someone could explain me how can I do this:
1) I have a Text in one text box called TEXTBOX1
2) How can a put this text in a field called 'Name' of my
database called 'MyDatabase'. I want to do this by code.

Thanks for your help,
 
L

Lola Cardenas

Hello:
I want to know if it's possible to use ADO objects in word.

Yes, it's possible :)
Is so, where are they? I don't have any.

I have made the same question a few hours ago, so now I can answer
you. In the VBA editor, you have to select "References" in the "Tools"
menu, and check the "Microsoft ActiveX Data Objects x.x Library" in
the list of available componentes. x.x is the version, I have 2.7 in
my machine.

Once checked this, you can use ADO as usual (object ADODB is now
available).
Or, if someone could explain me how can I do this:
1) I have a Text in one text box called TEXTBOX1
2) How can a put this text in a field called 'Name' of my
database called 'MyDatabase'. I want to do this by code.

I hope you can now do it :)

Regards, Lola.

(e-mail address removed)
(\_/) http://rinconprog.metropoliglobal.com/
( =(^Y^)= http://perso.wanadoo.es/p.gimeno/lola/
\_(m___m) ... miauuu... una gatita en la red
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top