Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create Letter routine with variables
Message
De
20/05/2005 10:01:25
 
 
À
20/05/2005 08:08:14
Stephen Hunt
Admit Computer Services Inc.
Farmingdale, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
01016151
Message ID:
01016182
Vues:
9
Hi Stephen

you should try automation with bookmarks or formfields
oWord=createobject("Word.Application")
if isnull(oWord)
  return
endif  
owdok=oword.documents.add(gLocalWorkSpace + "REKLA.DOT")
owdok.formfields("NAME").range.text=KOPF.Liefer1
oword.visible=.T.
owdok.saveas((mTempFolder) + "\" + alltrim(Thisform.Text1.value))
In This example you need a word template called "Rekla.Dot" and a formfield
called "Name" that is filled from a foxpro table

Hope that helps

Jörg
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform