DBsetErrorCode

Top  Previous  Next

Placed of a mistake code.

With this function the error messages which have put other functions before can be questioned. This is necessary, e.g., with the Batch programming. This function puts back the new value and delivers the before sedate value.

Parametre

ptr (PANY) [IN]

Act on any element to reach the data bank from it.

error (int) [IN]

Mistake value, e.g., from error.h

Result

(int) [OUT]

As a result the function delivers the before sedate mistake code back.

Declaration

#include "database.h"

 

int DLLENTRY DBsetErrorCode (

PANY ptr,

int error

);

Related functions

DBreturnLastError