Advertisement
6_2008-2009 OLE/ COM/ DCOM/ Active-X #195225

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

Ringkasan AI: 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.

Kode Sumber
original-source
Upload
Komentar Asli (3)
Dipulihkan dari Wayback Machine