Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TEXTMERGE/Word editing freezing
Message
De
10/08/2004 14:29:33
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
TEXTMERGE/Word editing freezing
Divers
Thread ID:
00932131
Message ID:
00932131
Vues:
65
I am generating letters based on a memo field in a table using SET TEXTMERGE TO c:\letter.txt. I then open c:\letter.txt in Word and allow users to change the letter. All has been fine for years until recenttly. One user (with Word 2003) can open the letter fine in Word, but if he tries to save after editing, Word freezes. He can save and exit Word fine IF he doesn't make any changes to the documents.

If I remove the TEXTMERGE text from the Memo fiel and just manually enter info, the saving/exiting in Word works fine.

Has anything changed with TEXTMERGE?

This is my Word editing code:

loWord=CREATEOBJECT('Word.Application')
loWord.Documents.Open('c:\letter.txt')
loWord.Selection.WholeStory
loWord.Selection.Font.Name = "Times New Roman"
loWord.Selection.Font.Size = 12
loWord.Selection.HomeKey()
loWord.ActiveDocument.SaveAs('c:\letter.txt',0)
loWord.Visible = .T.


thanks

bonnie
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform