>We use MS-WORD ole-automation to move information into word thru mail-merge. Our app works perfectly fine in WORD 97
>
>When it is used from WORD 97 the VFP code below:
>
># DEFINE wdDoNotSaveChanges 0
>
>** open a word mail-merge master document
>oWord = GETOBJECT("MyWordDoc.doc")
>
>** follow a series of document mail-merge manipulations
>
>** master document closing
>oWord.Close(wdDoNotSaveChanges)
>
>This triggers the following prompt:
> 'Do you want to save changes made to "MyWordDoc.doc"'
>A bug in my opinion... anyway out?
Francois- try closing the document with the save parameter, before attempting to close Word.
Erik Moore
Clientelligence