Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
V6s5, Word2K, Create Letter (not mail merge) from given
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00822541
Message ID:
00822578
Vues:
19
This message has been marked as a message which has helped to the initial question of the thread.
If FRX is not what you wish, then you could use Word Automation inserting and formatting text from fields as needed. Something like:

oWord = CREATEOBJECT("Word.Application")
oWord.documents.add()

with oWord.activedocument.content
lnstart=.Range.Start
.insertafter(table.field)
lnend=.Range.End
with .RANGE(lnstart,lnend).FONT
.NAME = "Courier New"
.bold = .T.
.SIZE = 14
endwith
....



>Hi all
>
>I would like to write a letter in Word from VFP. In VFP data I have the required fields filled in. From these fields I have to wrap it in standard text and create a letter from it. Please note: This is not mail merge and the user should be able to modify the file as required after the basic creation is made.
>
>I have studied FRX2Word but it relies on FRXs. I just want to send text to word (maybe using .dot files for basic layout that the user might want) and specify that the text being sent is Bold, Underline, Centered, etc.
>
>Please advise.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform