RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EIBError.SQLCode Property

Translates an InterBase error code in the error status vector to an SQL error number code.

Pascal
property SQLCode: Long;
C++
__property Long SQLCode;

Translates an InterBase error code in the error status vector to an SQL error number code. 

Delphi syntax:  

         property SQLCode: Long;

C++ syntax:

__property
         int SQLCode = {read=FSQLCode, nodefault};

Description  

Use SQLCode to translate an InterBase error code in the error status vector to an SQL error number code. Typically, this call is used to populate a program variable with an SQL error number for use in an SQL error-handling routine. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!