Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to put customer info into Word Pre-Format Document?
Message
De
23/07/1998 21:27:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
How to put customer info into Word Pre-Format Document?
Divers
Thread ID:
00120813
Message ID:
00120813
Vues:
43
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.
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform