View Single Post
  #6   Report Post  
Posted to microsoft.public.word.mailmerge.fields
neia neia is offline
external usenet poster
 
Posts: 11
Default error #1429 in mailmerfeword8

I haven´t created a code in Word.
I only use the code I post bellow in VFP.
This problem appears since I began using XP with office 2003.
Initialy, when I created this program, I didn´t have problems.


"Peter Jamieson" escreveu:

Can you post the code that you use to control Word?

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