Joe4
MrExcel MVP, Junior Admin
- Joined
- Aug 1, 2002
- Messages
- 66,954
- Office Version
-
- 365
- Platform
-
- Windows
We have some processes that need to create DBF control files for a non-Micorsoft application. We used to create these files in Excel. However, we recently convrted to Office 2007, and Microsoft decided that no one really needs to create DBF files from Excel anymore, so this functionality is no longer needed (don't even get me started!).
Anyway, we have been getting around this by using Access to create the DBF files. However, we have now come across one that just won't work. Whenever I try to export the data out of Access as a DBF, I get an error message that says "Field will not fit in record".
I searched the web for this error message, and none look like they will apply. Here is what I have checked:
1. All 26 field names are alphanumeric, and the only punctuation used in any of them is the underscore.
2. All field names are 10 characters or less.
3. All fields are Text fields and are formatted with lengths between 4 and 53 (and all entries are less than the field widths)
What else could it be? A few of the fields have no entries in any record (for example, one field is named PR4, and no records have an entry in this fields). Could these null values be causing the issue?
Thanks.
Anyway, we have been getting around this by using Access to create the DBF files. However, we have now come across one that just won't work. Whenever I try to export the data out of Access as a DBF, I get an error message that says "Field will not fit in record".
I searched the web for this error message, and none look like they will apply. Here is what I have checked:
1. All 26 field names are alphanumeric, and the only punctuation used in any of them is the underscore.
2. All field names are 10 characters or less.
3. All fields are Text fields and are formatted with lengths between 4 and 53 (and all entries are less than the field widths)
What else could it be? A few of the fields have no entries in any record (for example, one field is named PR4, and no records have an entry in this fields). Could these null values be causing the issue?
Thanks.