Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Winword decoding
Message
From
05/04/2000 11:25:26
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Winword decoding
Miscellaneous
Thread ID:
00355719
Message ID:
00355719
Views:
58
Hi to whoever,

I am working on a mail merge with word for windows. I have some
visual basic script and not real sure on how to convert to vfp.
Thanks... Eric


ActiveDocument.MailMerge.OpenDataSource Name:= _
"F:\APPS\MERGEDATA.DBF", _
ConfirmConversions:=False, ReadOnly:=False,_
LinkToSource:=True, _
AddToRecentFiles:=False, PasswordDocument:="", _
PasswordTemplate:="", _
WritePasswordDocument:="", WritePasswordTemplate:="",_
Revert:=False, _
Format:=wdOpenFormatAuto, Connection:= _
"DSN=FoxPro Files - Word;UID=;PWD=;
SourceDB=F:\APPS;_
SourceType=DBF;_
Exclusive=No;_
BackgroundFetch=Yes;_
Collate=MACHINE;Null=Yes;Deleted=Yes;" _
, SQLStatement:="SELECT * FROM MERGEDATA", SQLStatement1:=""
Application.MailingLabel.DefaultPrintBarCode = False
Application.MailingLabel.CreateNewDocument Name:="", _
Address:="", AutoText _
:="ToolsCreateLabels1", LaserTray:=wdPrinterManualFeed
Next
Reply
Map
View

Click here to load this message in the networking platform