Status 22 errors are usually caused by a mismatch of the DDFs and the data files. For example, if the DDFs define a record that is 100 bytes but the Btrieve file has a record size of 110 bytes, the status 22 will occur. THat's the main cause of the status 22 when dealing with ODBC.
I would suggest a Check Database run on the database. This can be found on the Tasks menu of the database within the PCC. mirtheil@mirtheil.com
Custom VB and Btrieve development.
Certified Pervasive Developer
Certified Pervasive Technician
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.