Hi =?Utf-8?B?TERhbml4?=,
> I opened the database as ODBC. After saving the document, I reopened the
> database and tried executing the command from the form with the button. Same
> thing. Am I getting ahead of you? What do I do after selecting ODBC when I
> open the database as the source file?
In my original response I said:
> Then try recording connecting to the Access database in a macro. If you need
> further help, after this point, we need to see the OpenDataSource the macro
> recorder created.
The point is to get the connection information Word requires for an ODBC
connection, which will include a PWD (password) parameter. Then use this in
your code, rather than what you already have.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)
LDanix - 23 Aug 2006 15:42 GMT
That did it! Thank you for your help and patience.
> Hi =?Utf-8?B?TERhbml4?=,
>
[quoted text clipped - 20 lines]
> This reply is posted in the Newsgroup; please post any follow question or reply
> in the newsgroup and not by e-mail :-)
Cindy M. - 24 Aug 2006 10:15 GMT
Hi =?Utf-8?B?TERhbml4?=,
> That did it!
Great :-)! Thanks for letting us know it worked.
Cindy Meister