Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to comfirm the Data source in VFP

Status
Not open for further replies.

siumouse

Programmer
Aug 27, 2003
12
0
0
HK
Hi to all,

A Selection of Data Source Box is prompt when execute the below code. How to elimiate the message box?

*------------------------------------------------------------*

goWord = CreateObject("Word.Application")
goWord.Visible = .T.

oDoc = goWord.Documents.Open("c:\Temp\word.doc")
oDoc.mailMerge.destination = 0
oDoc.MailMerge.OpenDataSource("C:\Temp\maildbf.dbf")
oDoc.mailMerge.execute(.F.)

results document
oDoc.close(0)
goWord.Visible = .T.

 


goWord.DisplayAlerts = .f.


Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top