Microsoft KB Archive/40335

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.


Additional reference words: appsconv datafile

KBCategory: kbinterop kbusage
KBSubcategory:


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 27, 1994
©1997 Microsoft Corporation. All rights reserved. Legal Notices.