Microsoft KB Archive/218688

= PUB2000: Mail Merge: Errors Merging DBase or FoxPro Databases =

Article ID: 218688

Article Last Modified on 6/29/1999

-

APPLIES TO


 * Microsoft Publisher 2000 Standard Edition

-



This article was previously published under Q218688



SYMPTOMS
If you try to use a Microsoft FoxPro or a Borland DBase (.dbf) file that has a long file name as the data source for a mail merge in Microsoft Publisher, you may receive the following error message:

Publisher cannot complete this mail merge operation because of an unexpected error. To restore Mail Merge feature click Yes to run Detect and Repair. Click No to end the mail merge operation and return to your publication.

If you click Yes, Publisher gives the following error message:

Publisher cannot merge data into this publication. An error occurred and this feature is no longer functioning properly. Would you like to repair this feature now?

NOTE: If you click Yes, Microsoft Publisher attempts to reinstall the Mail Merge feature and after the setup is complete, you receive the same error message.



CAUSE
When you attempt to use a Borland DBase file in a Mail Merge publication, Microsoft JET looks for the Borland database engine to utilize it. If it is not found, JET uses its own ISAM's (Index Sequential Access Method).

The Microsoft FoxPro and Borland DBase ISAM's provided by Microsoft JET do not support long file names. These ISAM's only support files using the 8.3 naming convention.

NOTE: The Borland database engine that ships with many Borland products designed for Windows 95/98/NT does support long file names. This engine will also open a FoxPro file as well.

The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.



WORKAROUND
To locate the dbase file used for the data source and rename the filename to comply with the 8.3 naming convention, follow these steps:


 * 1) On the Windows Start menu, point to Find, and click Files or Folders.
 * 2) In the Named box, type:*.dbf.
 * 3) In the Look In box, click Local hard drives.
 * 4) Click to select the Include Subfolders check box.
 * 5) Click Find Now.
 * 6) Right-click on the file you are using as your data source and click Rename.
 * 7) Change the filename to 8 characters or less, not including the 3 character extension.

For Example: If your filename is MyLongFileName.dbf, you will want to rename the file to something like MyFile.dbf.
 * 1) Run the mail merge again using the renamed database file as your data source.



STATUS
Microsoft has confirmed that this is a problem in Microsoft Publisher 2000.

Additional query words: PUB2K PUB2000 PUB 2000 PUB9 9.0

Keywords: kbbug kbmerge kbpending KB218688

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.