TurboDB Engine Documentation Error Description Codes See also |
Previous Top Next |
The Object Pascal constants for this error code are defined in the unit TdbTypes. 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-condition is invalid |
TdbErr_RltnAlreadyOpen |
-45 |
The relation is already open |
TdbErr_SqlFailure |
-46 |
Error while executing SQL command |
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_CreateSessionFailed |
-53 |
Session could not be created |
TdbErr_CannotCreateFile |
-54 |
Directory not found, file exists already or no write access to file |
TdbErr_TransferRunning |
-55 |
There is alredy a blob transfer active for this table |
TdbErr_NoActiveTransfer |
-56 |
There is no blob transfer active for this table |
TdbErr_NotInEditMode |
-57 |
Record is not in edit mode |
TdbErr_DatabaseNotFound |
-58 |
Database directory or database file not found |
TdbErr_SqlSyntaxError |
-59 |
SQL command does not conform to TurboSQL syntax |
TdbErr_CannotExecuteCommand |
-60 |
Could not execute SQL command |
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 |