EnglishРусский  
 Share/Save/Bookmark
 

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_OPENCannot open dbf file.
$ERRDBF_READCannot read dbf file.
$ERRDBF_POSFile position error.
$ERRDBF_EOFThere is not the current record.
$ERRDBF_WRITECannot write dbf file.
$ERRDBF_FOVERThe length of the string being written is greater than the size of the field.
$ERRDBF_TYPEIncompatible field type.
$ERRDBT_OPENCannot open dbt file.
$ERRDBT_READCannot read dbt file.
$ERRDBT_POSAn error of positioning in the dbt file.
$ERRDBT_WRITECannot write dbt file.

Related links

Source

Edit