dbf.geterror
Getting an error code. Get the error code in case some method is finished unsuccessfully.
method uint dbf.geterror()
Return value
The code of the last error is returned.
$ERRDBF_OPEN | Cannot open dbf file. |
$ERRDBF_READ | Cannot read dbf file. |
$ERRDBF_POS | File position error. |
$ERRDBF_EOF | There is not the current record. |
$ERRDBF_WRITE | Cannot write dbf file. |
$ERRDBF_FOVER | The length of the string being written is greater than the size of the field. |
$ERRDBF_TYPE | Incompatible field type. |
$ERRDBT_OPEN | Cannot open dbt file. |
$ERRDBT_READ | Cannot read dbt file. |
$ERRDBT_POS | An error of positioning in the dbt file. |
$ERRDBT_WRITE | Cannot write dbt file. |
Related links | Source |