Thanks for your help.
I tried various combinations to get a data souce that would work but couldn't get it to. However, I have a second document that does work. My problem is it was set up originally using Word 2000 so I am not sure exactly how it is connecting. I think it is using a system dsn but I have no idea how to use that from Word 2003. Eventually I want to upgrade the database format to Access 2003 but can only do that if I know I can keep this mail merge working
Anyway, is there a way for me to determine what type of connection is being used by the document that is working properly? Is there a way to use a system dsn to connect
Any help would be appreciated.
Hi =?Utf-8?B?S2V2aW4=?=,
> I tried various combinations to get a data souce that would work but couldn't get it to. However, I have a second document that does work. My problem is it was set up
originally using Word 2000 so I am not sure exactly how it is connecting. I think it
is using a system dsn but I have no idea how to use that from Word 2003. Eventually
I want to upgrade the database format to Access 2003 but can only do that if I know
I can keep this mail merge working.
>
You tried in the UI, or using VBA code? For mail merge, it's always good to test in
the UI first, record a macro when you get it working, look at the result, then go to
the automation code...
> Anyway, is there a way for me to determine what type of connection is being used by the document that is working properly? Is there a way to use a system dsn to
connect?
I'd open the document in Word (either version), Alt+F11 to open the VB-Editor, then
Ctrl+G for the Immediate Window. Type
?ActiveDocument.MailMerge.DataSource.ConnectString
then press Enter.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
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 :-)