
1-64
Status Codes
Make sure the Windows DLLs are in your path.
Make sure the appropriate communications modules are
loaded at the server.
21: The key buffer parameter is too short
The key buffer parameter is not long enough to accommodate the
key field for the requested index path. Verify that the length of the
key buffer equals the defined length of the key specified in the key
number parameter.
22: The data buffer parameter is too short
The data buffer parameter specified by the application was not
large enough to accommodate either the minimum length of the
record for an Insert or Update operation, or the entire record
length for a Get or Step operation. Also, the data buffer may not
be large enough to accommodate the length of data required for
operations such as Create, Create Index, Stat, Get By Percentage,
Find Percentage, or Version.
For Get or Step operations, the MicroKernel returns as
much data as it can and this status code, indicating that it
cannot return the entire record.
For an Insert operation, the MicroKernel does not insert the
record if the data buffer is shorter than the fixed-length
portion of the record.
For an Update operation, if the data buffer is too short to
contain the fixed-length portion of a record, the
MicroKernel does not update the record.
For the Create, Stat, and Create Index operations, the data
buffer is not long enough to contain all the file
specifications, the key specifications, and (if specified) the
Alternate Collating Sequence (ACS) definition.
For the Get by Percentage or Find Percentage operation, the
data buffer length is less than 4 bytes.
For the Version operation, the data buffer length is less than
5 bytes.
The data buffer parameter is too short when access table
with more than 60 field using ActiveX. Download the latest
ActiveX controls from the Pervasive Software web site (http:/
/www.pervasivedb.com).
Comentarios a estos manuales