4D v16

OCIOnErrCall

Home

 
4D v16
OCIOnErrCall

OCIOnErrCall 


 

OCIOnErrCall ( methodName ; $1 ; $2 ) 
Parameter Type   Description
methodName  String in Name of error-handling method
$1  Longint in First argument to pass to method
$2  Longint in Second argument to pass to method

The OCIOnErrCall command installs an error-handling method that will be executed every time an error occurs.  This allows you to manage possible execution errors and override default error handling.

methodName is the name of the method to install. To return to default behavior, pass an empty string such as OCIOnErrCall("").

4D for OCI passes two arguments, $1 and $2, to your method.  If you want to compile your database, you must declare the $1 and $2 variables using the C_LONGINT commands.

 
PROPERTIES 

Product: 4D
Theme: Extras
Number: 705127

 
HISTORY 

 
ARTICLE USAGE

4D for OCI ( 4D v16)