Excel: Cannot Open FoxPro .DBF File Containing Memo Fields

Last reviewed: December 1, 1994
Article ID: Q87110

The information in this article applies to:

  • Microsoft Excel for Windows, versions 3.0, 4.0
  • Microsoft Excel for the Macintosh, versions 3.0, 4.0

SUMMARY

In the versions of Microsoft Excel listed at the beginning of this article, when you attempt to open a FoxPro file that contains memo fields and is saved in .DBF format, you will receive one of the following error message:

   If you are using Microsoft Excel version 4.0
   --------------------------------------------

   Cannot read this binary file. If the file was created in a version
   of Microsoft Excel later than 4.0, use that version to save it as
   an Excel 4.0 file. Open file as text?

   If you are using Microsoft Excel version 3.0
   --------------------------------------------

   In Microsoft Excel version 3.0, no alert will be displayed but the
   file will automatically be read in as text. In both cases, text from
   the memo fields will not be read.

MORE INFORMATION

When saving database files, FoxPro includes information about memo fields that Microsoft Excel doesn't read. The only workaround is to open your .DBF file as a text file. Note that when the text file is opened the data will not be parsed and the text in the memo fields will be omitted.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Excel versions 3.0 and 4.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


KBCategory: kbinterop
KBSubcategory: xlquery

Additional reference words: 3.0 3.00 4.0 4.00


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: December 1, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.