Microsoft KB Archive/40335

= Microsoft Knowledge Base =

File: Opening a Text Document
Last reviewed: October 27, 1994

Article ID: Q40335

Summary:

To open a text document in Microsoft File when the file was created in another application, for example Microsoft Word, do the following:

(Warning: Documents that contain picture fields as text will lose the information in the picture fields.)


 * 1) Start Microsoft File.
 * 2) Create a new data file with the same number of fields as the text document. The field names do not have to match the names in the text document (for example, the names can have different spellings or uppercase or lowercase letters), but the fields must be in the same order as they are in the Microsoft Word document.
 * 3) Close the form.
 * 4) From the File menu, choose Open Datafile, and select the name of the text file. The text file will be read into the data file line by line.
 * 5) An error message can occur if some of the imported information does not match the field types. If this error occurs, delete the first record in the database.

When File encounters a tab, it places the following entry in the next field. When File encounters a carriage return, it places the data in the next record.