Advertisement
ASP_Volume3 OLE/ COM/ DCOM/ Active-X #44892

Export from VB to Word

Have you ever wanted to merge data from a database to Word when say one person has multiple records asscociated with them. Word doesn't allow this. For example, It allows one person record but what if you want to show multiple orders in the document for that person. Access allows you to do this with a subreport but not word. This code will allow you to create a new word document, add text to it, format the text, insert data from one or more databases into it, print it, save it, e-mail it using outlook, and/or then delete it if you want. Raised events allow you to know the current status of the class. The sample included shows you how to use it with the Northwind.mdb Perhaps if you want you can make it out of process activeX exe. Check it out. It really is a useful Tool if you need to work with word. Note: This does not use a DDE connection

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine