Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to put customer info into Word Pre-Format Document?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00120813
Message ID:
00120902
Views:
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)



I want to put all text in 1 Cell Table!
and then bolder the Table with 1.5 thick. ^_~
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Reply
Map
View

Click here to load this message in the networking platform