Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to put customer info into Word Pre-Format Document?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00120813
Message ID:
00120843
Vues:
14
>Currently, VFP do not provide word processing.
>
>But user want to retrieve customer information into Word with fix pre-format header.
>
>e.g. opening a .dot and put customer address, contact person and other data...
>
>I just know simple following code:
>
>Public oWord
>oWord = CreateObject('Word.Basic')
>oWord.FileNew()
>oWord.AppMaximize()
>oWord.Insert('Address:	'+Alltrim(Str(customer.address1))+...)
>oWord.Insert('Dear '+Alltrim(Str(customer.contactpsn))+","+chr(13))
>....
>
>
>But how to put at corresponding field place .dot?
>2nd, Since the format need draw a width box but the marco to draw box is only a square, the move is a little bit! and also draw line...
>
>If I can put all the format on coding, I can do it without using .dot,
>else I need to make a .dot and using code to fill in Field.
>
>Are there any solution on it?! I just start on using 'Word.basic' coding.

Do a mailmerge with word...

:0)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform