Microsoft KB Archive/153668

= WD97: Mail Merge Main Document Cannot Find Data Source =

Article ID: 153668

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Word 97 Standard Edition
 * Microsoft Schedule+ 97 Standard Edition
 * Microsoft Outlook 97 Standard Edition
 * Microsoft Outlook 98 Standard Edition

-



This article was previously published under Q153668





SYMPTOMS
When you create a mail merge main document and attach it to an Outlook 97 (Schedule+) data source, the link to the data source is lost when you close Word. When you restart Word and open the mail merge main document, you will see one of the following error messages:

If you are using Outlook 97 as your data source:

is a mail merge main document. Word cannot find its data source, X010 (talk)_virtual_file_X010 (talk).olk.

If you are using Schedule+ as your data source:

is a mail merge main document. Word cannot find its data source, X010 (talk)_virtual_file_X010 (talk).scd.



CAUSE
When you attach an Outlook 97 (Schedule+) data source, Word converts the contact list and creates a temporary copy of the file in table format called X010 (talk)_virtual_file_X010 (talk).olk (X010 (talk)_virtual_file_X010 (talk).scd).

This behavior is by design to prevent you from accidentally overwriting the original Outlook 97 (Schedule+) contact list with a format not recognized by Outlook 97 (Schedule+). Since this file is a temporary file, it is deleted when you exit Word.



WORKAROUND
To work around this problem, use either of the following methods.

Method 1: Use This Method When the Error Appears

 * 1) Click Options in the Error dialog box, and then click Remove Data/Header Source.
 * 2) With the document open, click Mail Merge on the Tools menu.
 * 3) In the Mail Merge Helper, click Get Data, click Use Address Book, select Outlook Address Book (Schedule+ Contacts), and then click OK.

This creates a new virtual file, based on the current contact list information.

NOTE: You need to repeat these steps each time you restart Word and open the mail merge main document attached to this data source.

Method 2: From Microsoft Outlook 97, Export the File as Either .csv or .tsv
 On the File menu, click Import And Export. Select Export To A File and click Next. Select the folder you want to export from (for example, select the Contacts folder), and click Next. In the Create A File Of Type list, select either Comma Separated Values (Windows) or Tab Separated Values (Windows), and then click Next. Type the full path and filename for the new file in the Save Exported Files As box, and click Next.

-or-

Click the Browse button and navigate to the folder to which to save the exported file, then type a name for the file and click OK and then click Next. Click Map Custom Fields, select the default map, and then click OK.</li> Click Finish.</li></ol>

Method 3: From Schedule+, Export the Contact List as a Text File
<ol> Start Schedule+.</li> On the File menu, click Export, and then click Text.</li> In the Text Export Wizard, choose Contact List, and then click Next.</li> Select the field delimiter and the character you want to use to surround your fields, and then click Next.</li> Click Next</li> Select each field you want to export and then click the Add button. If you want to export all the fields, click the Add All button. Click Next.</li> Type a name for the file that will contain the exported data, and then click Finish.

NOTE: If the ODBC drivers are installed, Word attempts to use the Text ODBC driver when you attach the data source. To prevent an error message such as the following

Open Database Connectivity Error: isn't a valid name.

select the data source, click to select the Select Method check box, and then click Open. Click Text Only. (If Text Only is not in the list, click Show All and then select Text Files.) Word will use its own text converter.</li></ol>

<div class="references_section">