Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

XL2000: Fields Truncated When File Is Saved in .dbf Format


View products that this article applies to.

This article was previously published under Q214064

↑ Back to the top


Symptoms

When you save a Microsoft Excel 2000 document as a dBase (.dbf) file, all of the data may appear to be saved, but when you close and reopen the document, some of the columns of data may be missing. The data that was contained in the missing columns is lost.

↑ Back to the top


Cause

This behavior can occur if the Excel spreadsheet contains more columns than the dBase format in which it is saved can support.

The dBase IV format can contain a maximum of 255 fields (columns) per record, dBase III can contain a maximum of 128 fields per record, and dBase II can contain a maximum of 32 fields per record.

The number of columns that are saved depends on the version of dBASE in which the file is saved. Excel 2000 can contain up to 256 columns of data.

The following table shows how many columns of data are saved when the database is saved in various .dbf file formats:
   File Type     Number of Columns
   ---------------------------------

   dBase II             32
   dBase III           128
   dBase IV            255
				

↑ Back to the top


Workaround

To work around this behavior and prevent the possible loss of data, save all Excel documents in the Excel native format before you save them in other file formats.

↑ Back to the top


Keywords: KB214064, kbprb

↑ Back to the top

Article Info
Article ID : 214064
Revision : 3
Created on : 9/27/2003
Published on : 9/27/2003
Exists online : False
Views : 234