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.