Error Description Codes
See also
[Previous] [Main] [Next]

The Object Pascal constants for this error code are defined in the unit TdbEng. Many of these error codes have an additional reason code, see "Error Reason Codes".

Constant   Value   Message   
TdbErr_Ok   0   No error   
TdbErr_RelationNotFound   -1   Could not open relation   
TdbErr_OutOfMemory   -2   Out of memory   
TdbErr_ModuleNotFound   -3   Could not open module   
TdbErr_InvalidRecord   -5   Record is invalid   
TdbErr_InvalidExpression   -7   Invalid expression   
TdbErr_InvalidField   -10   Unknown table column   
TdbErr_RecNotFound   -11   The record does not exist   
TdbErr_InvalidPassword   -12   Invalid password   
TdbErr_CreateFailed   -14   Could not create relation   
TdbErr_InvalidAccess   -15   Invalid access   
TdbErr_invalidIndex   -16   The index given does not exist   
TdbErr_InvalidRelation   -17   Invalid relation handle   
TdbErr_InvalidIndexSpec   -18   Invalid index definition   
TdbErr_InvalidFunction   -19   Function cannot be called in this context   
TdbErr_DeleteFailed   -20   Could not delete record   
TdbErr_RestructureFailed   -21   Restructuring relation failed   
TdbErr_NoAdlRltn   -22   Relation does not have a record id column   
TdbErr_InvalidType   -23   Column has not the correct data type   
TdbErr_WriteFailed   -25   Could not write record to table   
TdbErr_DuplicateRecord   -26   Record hurts index uniqueness   
TdbErr_IndexInUse   -27   The index is still in use   
TdbErr_RltnNotWritable   -30   The relation is read only   
TdbErr_LockedRecord   -31   The record is locked by another application   
TdbErr_IndexNotAvailable   -32   Index is not available   
TdbErr_RecordIsEmpty   -33   Record is null   
TdbErr_RecordIsUnchanged   -38   Record is unchanged   
TdbErr_NoOdbcSupport   -39   This edition does not support ODBC   
TdbErr_ProcNotFound   -40   The procedure does not exist   
TdbErr_InvalidModule   -41   The module does not exist   
TdbErr_DuplicateProc   -42   The proceudre already exists   
TdbErr_InvalidIdentifier   -43   The identifier is not a valid TurboDB identifier   
TdbErr_InvalidCondition   -44   Search-conditino is invalid   
TdbErr_RltnAlreadyOpen   -45   The relation is already open   
TdbErr_InvalidQuery   -46   The query is not valid   
TdbErr_RltnAlreadyLocked   -47   Relation is already locked   
TdbErr_IndexDeleteFailed   -48   Cannot delete index   
TdbErr_RltnCloseFailed   -49   Could not close relation   
TdbErr_InvalidEquateJoin   -50   Invalid equate join   
TdbErr_RltnDeleteFailed   -51   Could not delete relation   
TdbErr_RelTableNoFound   -52   Relation table (*.rel) not found   
TdbErr_EngineError   -100   Internal error   
TdbErr_InvalidTable   -101   The table handle is invalid   
TdbErr_InvalidStmt   -104   The statement handle is invalid   
TdbErr_ReadFailed   -201   Error while reading from table   
TdbErr_Unspecified   -203   Unspecified error   
TdbErr_ExportFailed   -204   Export failed   
TdbErr_ImportFailed   -205   Import failed