Article ID: 211702 - Last Review: June 16, 2008 - Revision: 2.0 WD2000: How to Convert WordPerfect Merge Data
This article was previously published under Q211702 On This PageSUMMARY
Microsoft Word 2000 supports conversion of WordPerfect 5.x secondary merge files, but not conversion of WordPerfect 6.x secondary merge files.
MORE INFORMATION
A WordPerfect 6.x document can be opened in Word 2000, provided the WordPerfect 6.x import converter has been installed. However, the format of an imported secondary file is not valid as a Word data document unless you edit it prior to performing a mail merge. Word supports direct conversion of secondary files from WordPerfect 5.0 and 5.1 for MS-DOS and WordPerfect 5.1 and 5.2 for Windows. Word can use the imported secondary file in a mail merge. To use a WordPerfect 5.x secondary file, just open the file in Word, or access the file in a mail merge. For additional information about the text converters that are installed during a setup of Word 2000, click the article number below to view the article in the Microsoft Knowledge Base: 236051
(http://support.microsoft.com/kb/236051/EN-US/
)
WD2000: Text Converters Installed During an "Install Now" Setup
WordPerfect 5.x Secondary Files and Word 2000Word automatically detects and converts WordPerfect 5.x secondary merge files to Word data source document format, provided the appropriate text converter is installed. To open the WordPerfect 5.x secondary file, just open the file in Word, or access the file in a mail merge.Secondary files containing 63 fields or fewer become tables, and those with more than 63 fields become tab-delimited data documents. WordPerfect conditional print merge constructs and macros are not retained. WordPerfect {END FIELD} and {END RECORD} merge commands must be properly placed in a WordPerfect file, or field data may be placed in the wrong column or row after conversion to Word. WordPerfect 6.x Secondary Files and Word 2000Word can open a WordPerfect 6.x secondary file if the WordPerfect 6.x import converter has been installed. However, the file will be interpreted as a normal WordPerfect document.When you convert the WordPerfect 6.x secondary file, the document text and layout are retained, but merge commands appearing within braces (for example, {FIELD NAMES}, {END FIELD}, and {END RECORD}) are lost. How to Import a WordPerfect Secondary FileUse the appropriate method below to import.Method 1: Use If You Have Access to WordPerfect:Create a new primary document in WordPerfect 5.x or 6.x so that when it is merged with the secondary file, the resulting merged file is in a valid data document format that Word can use in a print merge. Use the method appropriate for your version of WordPerfect to accomplish this.WordPerfect 5.x:
WordPerfect 6.x: NOTE: If the WordPerfect 6.x secondary file is in a table format rather than a text format, you can open the file in Word with the WordPerfect 6.x import converter, and you do not need to follow the steps below. You can use the data file after removing the extra paragraphs in each of the table cells.
Method 2: Use If You Do Not Have Access to WordPerfect:It is possible to clean up a WordPerfect 5.x or 6.x for Windows data document in Word after converting the file directly from WordPerfect format. However, due to the number of possible variations to the layout of a WordPerfect data document and the complexity and variations that are required in a clean-up macro, this method is recommended only if you do not have access to WordPerfect and cannot use method 1.A valid Word data file must be either a comma- or tab-delimited file, or must be formatted as a table. If a delimited document is used, the delimiter must separate each category of information (or data field) for each record. Each record must have the same number of delimiters, and each record must be separated from the next record by a hard return. If a table is used, data field information must appear in a separate table cell, and each row (which corresponds to a singe record) must have the same number of cells. Both types of data files must contain a header record, which lists all the field names that identify the data field categories. An example of a two-record tab-delimited data file (where ¬ represents a tab character by pressing TAB) follows:
First ¬ Last ¬ Address ¬ City ¬ State ¬ Zip¶
The following method uses the Replace command to arrange a converted WordPerfect data file for use in Word.
Peter ¬ Kelly ¬ 1234 Elm Rd. ¬ Anytown ¬ WA ¬ 98830¶ Judy ¬ Lew ¬ 1111 Mystreet St. ¬ Someplace ¬ VA ¬ 11101¶
WordPerfect Mail Merge FormatsWordPerfect's secondary mail merge files are significantly different from Word for Windows, Word for the Macintosh, and Word for MS-DOS data documents. In WordPerfect, a data document (by default) aligns merge data down the left margin with each field on a separate line and each record separated by an end-of-record code. In all versions of Word, each record contains fields that are separated by delimiters, and each record is separated by a hard return.The sections below describe the default layouts used by WordPerfect 5.1 for MS-DOS and WordPerfect 5.x and 6.x for Windows, as well as the somewhat different format used by WordPerfect 5.0 for MS-DOS. Possible manual variations of the default formats are also described. WordPerfect 6.x Secondary Merge File FormatBy default, a WordPerfect secondary text file created in WordPerfect 6.0 or 6.1 for Windows separates records by using the ENDRECORD merge command followed by a hard page break. The information in each record is divided into fields. Fields within each record are separated by the ENDFIELD merge command followed by a hard carriage return.Fields may be referenced in a primary merge document by number or by name. Fields are automatically numbered by WordPerfect from top to bottom by default. If names are assigned to fields, these names appear in a record at the beginning of the secondary merge file preceded by the FIELDNAMES merge command. Therefore, by default, a WordPerfect 6.x secondary merge file that includes field names appears similar to the following:
FIELDNAMES(Name;Address)ENDRECORD (Hard Page Break) Judy LewENDFIELD Someplace, WashingtonENDFIELD END RECORD (Hard Page Break) WordPerfect 5.x Secondary Merge File FormatBy default, a WordPerfect secondary file created in WordPerfect 5.1 for MS-DOS or WordPerfect 5.1 or 5.2 for Windows separates records by using the {END RECORD} merge command followed by a hard page break. The information in each record is divided into fields. Fields within each record are separated by the {END FIELD} merge command followed by a hard carriage return.Fields may be referenced in a primary merge document by number or by name. Fields are automatically numbered by WordPerfect from top to bottom by default. If names are assigned to fields, these names appear in a record at the beginning of the secondary merge file preceded by the {FIELD NAMES} merge command. Therefore, by default, a WordPerfect 5.1 or 5.2 secondary merge file that includes field names appears similar to the following: {FIELD NAMES}Name~Address~~{END RECORD}
You might choose to manually manipulate the layout of a secondary merge document in WordPerfect. The following are some of the possible manual variations of the default layout:
(Hard Page Break) Judy Lew{END FIELD} Someplace, Washington{END FIELD} {END RECORD} (Hard Page Break)
WordPerfect 5.0 Secondary Merge File FormatBy default, a WordPerfect secondary file created in WordPerfect 5.0 for MS-DOS separates records by using the Merge E command (^E followed by a hard page break). The information in each record is divided into fields. Fields within each record are separated by the Merge R command (^R followed by a hard return).Fields can be referenced in a primary merge document by number or by name. WordPerfect automatically numbers fields from top to bottom by default. If names are assigned to fields, these names appear in a record at the beginning of the secondary merge file, preceded by the Merge N command (^N followed by a hard return). Therefore, by default, a WordPerfect 5.0 secondary merge file that includes field names appears similar to the following:
^N
This layout, with the exception of the differing merge commands, is the same as that used by WordPerfect versions 5.1 and 5.2. The same possible variations of this layout as outlined for those versions above are applicable to WordPerfect 5.0.Name^R Address^R ^E Judy Lew^R Someplace, Washington^R ^E Support for all versions of WordPerfect is the sole responsibility of Corel Corporation. For more information or support for the merge functionality of WordPerfect, contact Corel Customer Support. For information about how to contact the companies mentioned in this article, visit the following Microsoft Web site: http://support.microsoft.com/gp/vendors
(http://support.microsoft.com/gp/vendors)
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. REFERENCES
"Microsoft Word Developer's Conference" manual, (c) 1991, Microsoft Corporation "WordPerfect for IBM Personal Computers" for WordPerfect 5.0 for MS-DOS, (c) 1988 Corel Corporation "WordPerfect for IBM Personal Computers and PC Networks," for WordPerfect 5.1 for MS-DOS, (c) 1990 Corel Corporation "Reference for Computers Running Windows 3.0 or Higher" for WordPerfect 5.1 for Windows, (c) 1991 Corel Corporation
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
