Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mailmerge to Word - Secifying the DataSource
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Mailmerge to Word - Secifying the DataSource
Miscellaneous
Thread ID:
00309401
Message ID:
00309401
Views:
48
I am trying to do a mailmerge with Word. I tried to specify the data source from VFP (rather than have it specified in the Word template, which was causing other problems). It almost works, but Word comes up asking if this is a 'FoxPro or dBase' file.

My command is:
loWord.ActiveDocument.Mailmerge.OpenDataSource("c:\mydbf.dbf")

It seems like there must be a way to identify the file as FoxPro programmatically, but I can't see how. Has anyone run across this?

Thanks in advance.
Mike C.
-------
I keep trying to find a life of my own, apart from you.
DC Talk/Charlie Peacock, In the Light.
www.risensystems.com/ra/itlbegin.rm
Next
Reply
Map
View

Click here to load this message in the networking platform