R
Roy
I use mail-merge in a bit of a non-traditional way. Rather then producing
the merged documents, I use the mail-merge setup document to save time
entering address and contact information on a single letter of transmittal,
contract, etc. I then enter information specific to the transmittal or
contract for that contact and I finally print the single document.
The process is repeated for as many transmittals or contracts I need to
produce at a given point in time. This process is appropriate because I only
print a very small subset of my master list of contacts, and the subset
varies each time.
The process uses the standard Mail Merge toolbar rather than VBA macros.
The "Show Fields/Values" button allows the currently selected data source
record values to be shown on the mail merge setup document and the Find Entry
button allows me to find the contact info to display.
What worked smoothly in Word 2000 has issues in Word 2003.
A new dialog box appears when the mail-merge setup document is opened. It
says:
"Opening this document will run the following SQL command:
SELECT * FROM P:\Data Source.doc
Data from your database will be placed in the document. Do you want to
continue?"
After clicking Yes, the process does not work as it did in Word 2000. When
you click the Find Entry button, you can see a "Word is searching record ..."
dialog until the data base search is complete. It does not find any records.
I discovered it is not working because the Data Source.doc file is not a
sorted database. Word 2000 must have sorted it automatically. In word 2003,
I need to manually sort the data source to get it to work.
I am getting around the problem by clicking the Mail Merge Recipients button
and then clicking on the “Company†column heading to sort the data source by
Company. After that extra step, the mail-merge setup document works exactly
as it did in Word 2000.
I could make the process run automatically as it did under Word 2000 if I
could change the default “SELECT * FROM P:\Data Source.doc†statement to
include a sort by Company name. I have found no documentation on how to
change this default SQL data selection statement.
the merged documents, I use the mail-merge setup document to save time
entering address and contact information on a single letter of transmittal,
contract, etc. I then enter information specific to the transmittal or
contract for that contact and I finally print the single document.
The process is repeated for as many transmittals or contracts I need to
produce at a given point in time. This process is appropriate because I only
print a very small subset of my master list of contacts, and the subset
varies each time.
The process uses the standard Mail Merge toolbar rather than VBA macros.
The "Show Fields/Values" button allows the currently selected data source
record values to be shown on the mail merge setup document and the Find Entry
button allows me to find the contact info to display.
What worked smoothly in Word 2000 has issues in Word 2003.
A new dialog box appears when the mail-merge setup document is opened. It
says:
"Opening this document will run the following SQL command:
SELECT * FROM P:\Data Source.doc
Data from your database will be placed in the document. Do you want to
continue?"
After clicking Yes, the process does not work as it did in Word 2000. When
you click the Find Entry button, you can see a "Word is searching record ..."
dialog until the data base search is complete. It does not find any records.
I discovered it is not working because the Data Source.doc file is not a
sorted database. Word 2000 must have sorted it automatically. In word 2003,
I need to manually sort the data source to get it to work.
I am getting around the problem by clicking the Mail Merge Recipients button
and then clicking on the “Company†column heading to sort the data source by
Company. After that extra step, the mail-merge setup document works exactly
as it did in Word 2000.
I could make the process run automatically as it did under Word 2000 if I
could change the default “SELECT * FROM P:\Data Source.doc†statement to
include a sort by Company name. I have found no documentation on how to
change this default SQL data selection statement.