View Single Post
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default error #1429 in mailmerfeword8

Unfortunately I don't know VFP well enough to know what might be wrong with
the VFP part of your system but,
a. Which version of Word? Is it Word 97? If it is a later version, you may
need to take account of the following article:

http://support.microsoft.com/kb/825765

b. Can you open your Mail Merge Main Document in Word, manually, and run
the merge successfully?
c. how do you actually execute the merge? Does your document have an
AutoOpen macro, or do you control Word from VFP using OLE Automation?

Peter Jamieson

"neia" wrote in message
...
I created an application using Visual Fox Pro 6.0 that has an option to
mailmerge
data for word 2003. When pressuring button that executes this mailmerge I
receive the following message: "Error #1429 in mailmergeword8 (63) ole
Idispatch exception code 0 from Microsoft word".
What does it mean? What can I do to eliminate this problem?
Bellow, I show part of the programīs code in order to give more
information:

WITH THISFORM.mailmerge1
.cAppTitle = "Sistema X"
.nWordProc = 1
.nNewDoc = 2
.cdocname = docx
.nTemplate = 1
.cAlias = ALIAS()
.cDBCTable = DBF()
.cDBCName = DBC()
ACOPY(aflds, .aAutoFields)
.MakeOutput()
ENDWITH

DO Executa_ApiShell32.prg WITH "Open", docx