Hi Christof,
It doesn't work. The Makro doesn't even work in the same document.
Says something like 'not enough fields in record n' three times, then it
shows the totally wrong fieldnames.
If the file doesn't exist it says 'file not found', so the file creation is
not recorded in the Macro.
I can only make two further suggestions (well 2.5):
1. Go to the word.mailmerge.fields newsgroup and ask there. Look especially
for contact with Peter Jamieson, who's done some research in this area. He may
be able to at least better explain the whys.
2. Submit feedback at the msdn/microsoft website about your need for ODC- and
DSN-less connections. If your company has a "big-time" license, also contact
Product Support and force them to think about the problem a bit
If no solution is forthcoming within your time-frame (something I rather
suspect will be the case), the following work-arounds occur to me:
1. Don't use mail merge. Provide the functionality through automation of Word
and feed in the data directly.
2. LINK the SQL tables into either Excel or Access and use either of these as
the data source.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
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