TurboDB Engine Documentation

Error Reason Codes

See also

Top 

If the reason code is different from zero, it describes the origin of the error.

Code

Value

Description

fcCannotOpenFile

1

Cannot open file or storage object

fcReadError

2

Error while reading from file or storage object

fcWriteError

3

Error while writing to file or storage object

fcIndexCreating

4

Error while creating index

fcIndexDeleting

5

Error while deleting index

fcIndexNotFound

6

Index not found

fcInvalidCondition

7

Error in search-condition

fcImportError

8

Import error

fcOutputFormatError

9

Error in report output format

fcCloseError

10

Error while closing file

fcIndexTooLarge

11

Index key size must not exceed 32 KB (512 bytes for table level 3 and below)

fcOpeningIndexError

12

Error while opening index

fcIndexDoesNotFit

13

Index is inconsistent with the table

fcNoDataField

14

A data field was expected in expression or function but not given

fcNoFileInDir

18

Invalid user file handle passed to TurboPL

fcRecordNotFound

19

Record not found

fcModuleNotFound

20

Module not found

fcIndexAlreadyExists

22

Index file already exists

fcIndexAlreadyOpen

23

Index already open

fcSyntaxError

25

Syntax error

fcInvalidFileName

26

Invalid file name

fcIndexDescDamaged

28

Index description is damaged

fcWrongProgramFileVersion

29

Wrong program file version

fcDuplicateEntry

30

Duplicate entry

fcCannotOpenMemoFile

31

Cannot open memo file

fcMemoNotAllowedHere

32

Memo not allowed here

fcWritingMemoFileError

33

Error while writing to memo file

fcIllegalOperation

34

Application does not have the access rights for this operation.

fcTableAlreadyOpen

35

A table with this name is already open

fcFileNotFound

37

File not found or access denied

fcWrongKey

38

The password is not correct

fcExpressionIncomplete

41

Expression not complete

fcOperatorNotAllowedForOperand

42

Operator not allowed for operand

fcRealOverflow

43

Real overflow

fcTypeMismatch

44

Type mismatch

fcIllegalCharacter

45

Character not allowed at this position in the expression

fcInvalidNumber

46

A string does not represent a valid number.

fcLogicalOperandMissing

48

Logical operand expected in expression but not found

fcIllegalOperand

49

Operand has an invalid value

fcUnknownIdentifier

50

Unknown identifier

fcArrayVariableExpected

51

Array variable expected

fcUnknownError

52

Unknown error

fcTooManyVariables

53

Tried to define more than 2048 variables

fcEqualMissing

54

"='' expected in expression but not found

fcNumberExpected

55

Number expected in expression but not found

fcUnexpectedToken

56

A certain token expected in expression but not found

fcInvalidColumnNumber

57

Number of columns in source table does not match number of columns in target table

fcTableNameExpected

58

Table name expected

fcTooManyColumns

59

Too many table columns

fcExpressionTooComplex

60

Expression too complex

fcTooManyIndexLevels

61

Tried to define more than 16 index levels in table level 3 or below

fcNotADLTable

64

The table has no AutoInc column and cannot be used as a destination for link and relation fields.

fcADLTableNotFound

65

The table linked to via link or relation column cannot be found

fcNoRestructureAccess

66

Right for restructuring the table is missing

fcTooManyIndexes

67

Number of indexes per table exceeds the maximum of 50 (15 for table level 3 and below)

fcInvalidRange

70

Invalid range constraint

fcDuplicateIdentifier

71

Duplicate identifier

fcTableFileAlreadyExists

72

Table file already exists

fcTooManyLinkFields

73

Table may have up to 9 link fields

fcUpToFifteenDigitsAllowed

74

Numbers are restricted to 15 digits

fcLineTooLong

75

Module source code line has more than 255 characters

fcMoreThanOneAutoIncField

76

A table can only have one AutoInc column

fcRightMarginTooSmall

79

Not enough space on report page

fcRangeOverflow

81

Range overflow

fcIllegalCommand

82

TurboPL command not allowed here

fcInvalidAreaSequence

86

Printing areas in report have not the correct order

fcTableNotOpen

88

Table not open

fcVariableExpected

89

A variable name is expected in the expression but not found

fcIndexWriting

90

Error while writing index

fcIndexReading

91

Error while reading index

fcEndOfSubreportNotFound

92

Subreport was begun but endsub keyword not found.

fcKeywordNotAllowed

93

Keyword not allowed in current report area

fcTooManyTables

94

Cannot open more than 254 tables per session (62 for table level 3 and below)

fcIndexDamaged

95

Index is damaged

fcUntilExpected

96

repeat block was begun but until keyword not found

fcEndExpected

97

if or while block was begun but end keyword not found

fcInvalidIndexSpec

98

Invalid index definition

fcOutOfMemory

99

Not enough memory

fcDemoVersion

100

Some demo versions are restricted to only a few records in the tables

fcLocalProceduresNotPermitted

101

TurboPL does not support nested procedures

fcEndProcExpected

102

A procedure without the endproc keyword was found

fcTableInUse

103

Operation cannot be completed, because table is in use by another application/session

fcTableIsLocked

104

Table is already locked by another application/session

fcRecordEdited

105

Record is already locked by another application/session

fcErrorInLogin

106

Table cannot be opened, because the lock file management did not succeed

fcInvalidConnectionId

107

Invalid connection id

fcUnknownLockError

109

Unknown network error

fcLockingError

110

Locking support from OS insufficient

fcCannotOpenBlob

111

Cannot open blob file

fcMemoDamaged

112

Memo file is damaged

fcBlobDamaged

113

Blob file is damaged

fcUserAbort

114

Operation canceled by user

fcNoWriteAccess

115

No write access to file

fcIndexInUse

116

Operation cannot be completed, because the index is still being used

fcUnsupportedTableFeature

117

Table schema invalid, because it uses a feature, which is only supported in a higher table level

fcErrorInExecutionExternalProcedure

118

Fatal error while executing external procedure

fcExternalProcedureNotFound

119

External procedure not found

fcNoOdbcSupport

120

Cannot inititialize ODBC

fcCannotOpenODBCDataSource

121

Cannot open ODBC data source

fcErrorInQuery

122

Error in SQL query

fcException

123

Exception in TurboDB Engine

fcOldDatVersion

124

The table has an old version, which is no more supported

fcCannotAssignToConst

125

Cannot assign to constant

fcObjectExpected

126

".'' must be preceeded by an object

fcArrayTooLarge

127

Array to large (up to 2 GB allowed)

fcInvalidFullTextSearch

128

Full-text search condition contains an error

fcUnknownDBaseFormat

129

The version of the dBase file is unknown.

fcSharingViolation

130

The file is in use by another user

fcUnknownClass

132

Unknown class

fcInvalidObject

133

Invalid object reference

fcTableCorrupt

134

Table file header is corrupt

fcErrorInUICall

135

Error in user interface call

fcInvalidMember

136

Unknown class member

fcInvalidDate

137

The string does not represent a valid date.

fcLangDriverNotFound

138

Language driver cannot be found, is an old version or does not match specification

fcInvalidAggregate

139

The argument of an aggregate must be a numeric expression

fcInvalidTime

140

Not a valid time

fcNoCreatePermission

141

Permission denied to create file

fcNoReadPermission

142

Permission denied to read file

fcFieldSizeIsZero

143

Field size is zero

fcUnknownFieldType

144

Unknown field type

fcIndicationMissing

145

Indication for AutoInc field undefined

fcInvalidJoin

146

Invalid join condition

fcDifferentLangDriver

147

All tables within one session must use the same language driver

fcInvalidStrValue

148

Not a valid value for the field

fcNoIndexPermission

149

Permission denied to create an index

fcValueListTooLong

150

The value list contains more values than can be processed

fcSingleTableJoin

151

Equate join must refer to exactly one table on each side of the =

fcNotDBaseCompatible

152

Dbase III files unable to hold this data structure

fcExternalTableError

153

External table error

fcRelTableNotFound

154

At least one relation table could not be opened

fcDeletionNotComplete

155

One or more files could not be deleted

fcBlobFileTooLarge

156

Memo/blob file exceeds maximum size

fcNoAutoIncModify

157

AutoInc field must not be modified

fcInvalidDateTime

158

Not a valid timestamp

fcLangDriverNotSupported

159

LanguageDriver not supported by operating system

fcNoWritePermission

160

Permission denied to write to the file

fcExpressionHasNoValue

161

The expression has no value, not even null

fcWrongFieldType

162

The column type is not as expected

fcNextExpected

163

for-loop was begun but next keyword not found

fcUnknownType

164

The type name is unknown

fcCOMError

165

Error during calling a COM interface

fcCOMError

166

Module is directly or indirectly using itself

fcConstraintViolated

167

Row violates a constraint

fcBlobFieldExpected

168

Column reference to blob is required but not found

fcMemoFieldExpected

169

Column reference to memo is required but not found

fcLocksPresent

170

Transaction cannot be started as long as there are locks on the table

fcCapacityLimit

171

One of the table indexes has reached its capacity index, must rebuild

fcIncompleteGroupBy

172

Group by clause is not complete

fcInvalidColumnName

173

String is not a valid column name

fcIdentifierAmbigous

174

Identifier is ambiguous

fcTableStillBusy

175

Table is still being used from this session

fcInvalidIndexName

176

String is not a valid index name

fcNotEnoughArguments

177

Procedure does not have enough arguments

fcDivisionByZero

178

Division by zero occurred

fcNoParentRowFound

179

Foreign key constraint cannot be satisfied

fcIntegrityViolated

180

Operation would violate a foreign key constraint

fcRecordNotEditing

181

Row is not locked

fcOutOfTable

182

Current cursor position is outside the table

fcTransactionRunning

183

There is already a transaction running

fcParentTableNotFound

184

Parent table for a foreign key constraint was not found

fcIncompatibleLockFile

185

Applications of an incompatible TurboDB version are already accessing the database table.