community.borland.com

Article #25308: status code unknown

Problem:
After calling WHEN GDSCODE , I receive the error "status
 code  unknown".

Solution:
The information in this article applies to:

* InterBase 4.x
* InterBase 5.x

WHEN GDSCODE requires the constant/status name/code, not the error
 code number.  Also, the "L" at the end of the error code numbers listed
 in the appendix only signify that the value is a LONG; within the code 
reference they are ommitted.

Also reference the Information Brief titled "WHEN GDSCODE 
 fails with error 'status code  unknown'" for documentation error.

Last Modified: 12-OCT-00