Gentee Programming Language > Documentation > Libraries Download documentation

dbf.geterror

Get the error code in case some method is finished unsuccessfully.

uint dbf.geterror()

Return value

The code of the last error is returned.
$ERRDBF_OPENImpossible to open the dbf file
$ERRDBF_READImpossible to read the dbf file
$ERRDBF_POSAn error of positioning in the file
$ERRDBF_EOFNo current record
$ERRDBF_WRITEAn error of writing in the dbf file
$ERRDBF_FOVERThe length of the string being written is greater than the size of the field
$ERRDBF_TYPEIncompatible field type
$ERRDBT_OPENImpossible to open the dbt file
$ERRDBT_READImpossible to read the dbt file
$ERRDBT_POSAn error of positioning in the dbt file
$ERRDBT_WRITEAn error of writing in the dbt file

See also

    Working with DBF files


 Copyright © 2004-2006 Gentee Inc. All rights reserved.