Microsoft KB Archive/32652

= Microsoft Knowledge Base =

File: Importing a Microsoft Word Document
Last reviewed: October 26, 1994

Article ID: Q32652

Summary:

Below is a description of the process required for importing information from a Microsoft Word document into a Microsoft File database.

More Information:

In Microsoft Word, do the following:

  Place tabs between the field entries and a carriage return at the end of each record in the document. If some fields are to remain blank, insert an extra tab to account for the empty field. Note: In Word version 4.00, use a table, where each field is a unique column and each record is a unique row.  From the File menu, choose Save As. Click the File Format button and select Text Only. Give the document a name and click Save.

In Microsoft File, do the following:


 * 1) Create a new data file with a form that has as many fields as the Word document. The field names do not have to match the names in the Word document, but make sure the fields are in the same order as they are in the Word document.
 * 2) Close the form.
 * 3) From the File menu, choose Open Datafile and select the name of the text file saved from Word. The text file will be read into the data file line by line. Each tab File encounters will cause the next entry to be placed into the next field. Each carriage return will place data into the next record.