ID: Q119763
The information in this article applies to:
When FoxPro attempts to open a .DBF file, it checks certain aspects of that file. If the file appears to be in the expected format, the attempt to open the file will succeed. If a problem is detected with the file, FoxPro returns an error message. This article explains what tests are performed when FoxPro attempts to open a .DBF file.
When FoxPro attempts to open a .DBF file, it tests the following items:
The record length must not be <= 1. The record length must not exceed the maximum record length.
The .DBF file must have at least one field.
The number of fields must not be greater than the maximum allowable number of fields.
The number of records cannot be less than zero.
The start of data plus the number of records multiplied by the record length must not exceed the file size reported by MS-DOS.
Additional reference words: FoxMac FoxDos FoxWin 2.50 2.50a 2.50b 2.50c 2.60 2.60a KBCategory: kbother KBSubcategory: FxotherGeneral
Last Reviewed: July 5, 1995