ACC1x: Error Message When Attaching Btrieve TableID: Q94420
|
When you try to attach a Btrieve table in Microsoft Access, you receive the
following error message:
<tablename> is corrupted or isn't a Microsoft Access database.
When Microsoft Access attaches a Btrieve table, it compares information in the Xtrieve dictionary file (FILE.DDF) with information in the TBLNAME.DAT file. The most common reasons for the above error message are differences in index information.
Redefine the Btrieve index so that it is exactly the same length as the field it indexes.
This problem does not occur in Microsoft Access version 1.1.
In the Btrieve file format, the length of the index may not match the
length of the field. This is a valid condition. The Xtrieve dictionary
file (FILE.DDF) ignores these indexes, but Microsoft Access interprets
them as invalid and returns the above error message.
You can correct this problem by turning the invalid indexes into valid
indexes. Use one of the following options to ensure that the length of
the index and the length of the field are identical:
Column name Field Length Index Length
------------------------------------------
Firstname 10 <= Combined length of
Lastname 10 <= 20 characters
Company 25
Column name Field Length Index Length
------------------------------------------
Firstname 10 4 characters
Lastname 10
Company 25
Column name Field Length Index Length
------------------------------------------
Firstname 10 12 characters
Lastname 10
Company 25
Column name Length
--------------------
Firstname - 10
Lastname - 10
Company - 25
Keywords : kb3rdparty kberrmsg IsmBtrv
Version : 1.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: March 13, 1999