Re: Mail Merge Function Error

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Cindy M -WordMVP- (C.Meister-C_at_hispeed.ch)
Date: 08/23/04


Date: Mon, 23 Aug 2004 19:10:32 +0200

Hi Matthew,

> Recently I upgraded from Win98/Off97 to WinXP/Off2003 as a
> result an Access Database App that previously worked fine
> now fails to run its MailMerge function correctly, and
> fails with the error "error 4605: this method or property
> is not available because it is not a mail merge main document".
>
This will be due to a security measure that was implemented in
more recent versions of Word (and Service Packs) that sever the
data connection when a document is opened using Automation. (In
the UI you get a message prompt).

See this KB article, and note the Registry key you'd have to set
in order to get your code working again.

"Opening This Will Run the Following SQL Command" Message When
You Open a Word Document - 825765
http://support.microsoft.com?kbid=825765

The only other way would be to save the main merge document
without a linked data source, and connect to the data after
opening the document.

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 :-)



Relevant Pages

  • Re: Slow text entry
    ... Microsoft's Legal Users' Guide) http://addbalance.com/usersguide ... This message is posted to a newsgroup. ... > Hi, After opening my word document, it starts getting ... > really slow after a short while after opening it. ...
    (microsoft.public.word.newusers)
  • Re: Word 2003 Run SQL? pop-up
    ... "Opening This Will Run the Following SQL Command" Message ... When You Open a Word Document - 825765 ... This reply is posted in the Newsgroup; ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Blank documents open together with opening of existing documents
    ... > When opening an existing Word document in Word 2000, a blank document opens ... Please list the exact steps you use to open a Word document. ... FileOpen macro running somewhere that's opening a new document, ... reply in the newsgroup and not by e-mail :-) ...
    (microsoft.public.word.docmanagement)
  • Re: Saving edits in MS-Word email attachments?
    ... Word New User FAQ & Web Directory: http://addbalance.com/word ... Microsoft's Legal Users' Guide) http://addbalance.com/usersguide ... This message is posted to a newsgroup. ... attached WORD document to me. ...
    (microsoft.public.word.newusers)
  • RE: fax cover sheet always empty - need last call made
    ... the using prints the word document to the fax that is ... fax cover page appears with empty fields. ... This newsgroup only focuses on SBS technical issues. ... you may want to contact Microsoft CSS directly. ...
    (microsoft.public.windows.server.sbs)