4D v16

OCIOnErrCall

Página Inicial

 
4D v16
OCIOnErrCall

OCIOnErrCall 


 

OCIOnErrCall ( methodName ; $1 ; $2 ) 
Parâmetro Tipo   Descrição
methodName  String in Name of error-handling method
$1  Inteiro longo in First argument to pass to method
$2  Inteiro longo 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.

 
PROPRIEDADES 

Produto: 4D
Tema: Extras
Número 705127

 
HISTÓRIA 

 
ARTICLE USAGE

4D for OCI ( 4D v16)