Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Btrieve error 22 - data buffer length

Status
Not open for further replies.

ston

Technical User
Aug 15, 2002
5
US
I'm getting this error only on some of my BTR files. Does anyone know how to fix this? I'm using CR8.5 + Pervasive.SQL2000i.

Thanks.
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top