EnglishРусский  
The project is closed! You can look at a new scripting language. It is available on GitHub.
Also, try our open source cross-platform automation software.

Ads

Installer and installation software
Commercial and Freeware installers.

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