This document contains a list of error numbers, error messages, and the class of error for various errors that could occur in databases or queries. There are over 30 error classes described including errors related to parsing, ISAM (Index Sequential Access Method), queries, security, and more. The errors range from syntax errors to object not found errors to disk space errors.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
428 views15 pages
Error Number Access VBA
This document contains a list of error numbers, error messages, and the class of error for various errors that could occur in databases or queries. There are over 30 error classes described including errors related to parsing, ISAM (Index Sequential Access Method), queries, security, and more. The errors range from syntax errors to object not found errors to disk space errors.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 15
Error
Number Error Message Class
2420 Syntax error in number. PARSE 2421 Syntax error in date. PARSE 2422 Syntax error in string. PARSE 2423 Invalid use of '.', '!', or '()'. PARSE 2424 Unknown name. PARSE 2425 Unknown function name. PARSE 2426 Function isn't available in expressions. PARSE 2427 Object has no value. PARSE 2428 Invalid arguments used with domain function. PARSE 2429 In Operator without (). PARSE 2430 Between operator without And. PARSE 2431 Syntax error (missing operator). PARSE 2432 Syntax error (comma). PARSE 2433 Syntax error. PARSE 2434 Syntax error (missing operator). PARSE 2435 Extra ). PARSE 2436 Missing ), ], or Item. PARSE 2437 Invalid use of vertical bars. PARSE 2438 Syntax error. PARSE 2439 Wrong number of arguments with function. PARSE 2440 IIf function without (). PARSE 2442 Invalid use of parentheses. PARSE 2443 Invalid use of Is operator. PARSE 2445 Expression too complex. PARSE 2446 Out of memory during calculation. PARSE 2447 Invalid use of '.', '!', or '()'. PARSE 2448 Can't set value. PARSE 3000 Reserved error <item>; there is no message for this error. UNUSED 3001 Invalid argument. MISC 3002 Couldn't start session. ISAM Error Number Error Message Class 3003 Couldn't start transaction; too many transactions already nested. ISAM 3004* UNUSED 3005 <Database name> isn't a valid database name. ISAM 3006 Database <name> is exclusively locked. ISAM 3007 Can't open library database <name>. ISAM 3008 The table <name> is already opened exclusively by another user, or ISAM it is already open through the user interface and cannot be manipulated programatically. 3009 You tried to lock table <name> while opening it, but the table can't ISAM be locked because it is currently in use. Wait a moment, and then try the operation again. 3010 Table <name> already exists. MISC 3011 The Microsoft Jet database engine could not find the object <name>. MISC Make sure the object exists and that you spell its name and the path name correctly. 3012 Object <name> already exists. ISAM 3013 Couldn't rename installable ISAM file. ISAM 3014 Can't open any more tables. ISAM 3015 <Index name> isn't an index in this table. Look in ISAM the Indexes collection of the TableDef object to determine the valid index names. 3016 Field won't fit in record. ISAM 3017 The size of a field is too long. MISC 3018 Couldn't find field <name>. MISC 3019 Operation invalid without a current index. ISAM 3020 You tried to call Update or CancelUpdate or attempted to update MISC a Field in a recordset without first calling AddNew or Edit. 3021 No current record. MISC 3022 The changes you requested to the table were not successful because ISAM they would create duplicate values in the index, primary key, or relationship. Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to permit duplicate values and try again. 3023 AddNew or Edit already used. QUERY Error Number Error Message Class 3024 Couldn't find file <name>. MISC 3025 Can't open any more files. ISAM 3026 Not enough space on disk. ISAM 3027 Can't update. Database or object is read-only. MISC 3028 Can't start the application. The workgroup information file is missing ISAM or opened exclusively by another user. 3029 Not a valid account name or password. SECURITY 3030 <Account name> isn't a valid account name. SECURITY 3031 Not a valid password. SECURITY 3032 Can't perform this operation. SECURITY 3033 You don't have the necessary permissions to use the <name> object. MISC Have the system administrator of the person who created this object establish the appropriate permissions for you. 3034 You tried to commit or roll back a transaction without first ISAM using BeginTrans. 3035* 3036 Database has reached maximum size. ISAM 3037 Can't open any more tables or queries. MISC 3038* 3039 Couldn't create index; too many indexes already defined. ISAM 3040 Disk I/O error during read. ISAM 3041 Can't open a database created with a previous version of the ISAM application. 3042 Out of MS-DOS file handles. ISAM 3043 Disk or network error. UNUSED 3044 <Path name> isn't a valid path. Make sure that the path name is ISAM spelled correctly and that you are connected to the server where the file resides. 3045 Couldn't use <file name>; file already in use. ISAM 3046 Couldn't save; currently locked by another user. ISAM 3047 Record is too large. ISAM 3048 Can't open any more databases. ISAM 3049 Can't open database <name>. It may not be a database that the MISC Error Number Error Message Class application recognizes, or the file may be corrupt. 3050 Couldn't lock file. ISAM 3051 The Microsoft Jet database engine cannot open the file <name>. It is MISC already opened exclusively by another user, or you need permission to view its data. 3052 MS-DOS file sharing lock count exceeded. You need to increase the ISAM number of locks installed with Share.exe. 3053 Too many client tasks. MISC 3054 Too many MEMO or OLE Object fields. UNUSED 3055 Not a valid file name. MISC 3056 Couldn't repair this database. MISC 3057 Operation not supported on linked tables. MISC 3058 Index or primary key can't contain a NULL value. ISAM 3059 Operation canceled by user. MISC 3060 Wrong data type for parameter <parameter>. QUERY 3061 Too few parameters. Expected <number>. EXTENDED 3062 Duplicate output alias <name>. EXTENDED 3063 Duplicate output destination <field name>. EXTENDED 3064 Can't open action query <name>. QUERY 3065 Can't execute a select query. QUERY 3066 Query must have at least one destination field. EXTENDED 3067 Query input must contain at least one table or query. EXTENDED 3068 Not a valid alias name. QUERY 3069 The action query <name> cannot be used as a row source. EXTENDED 3070 The Microsoft Jet database engine does not recognize <name> as a QUERY valid field name or expression. 3071 This expression is typed incorrectly, or it is too complex to be QUERY evaluated. For example, a numeric expression may contain too many complicated elements. Try simplifying the expression by assigning parts of the expression to variables. 3072 <Visual Basic error string>. EXTENDED 3073 Operation must use an updateable query. QUERY 3074 Can't repeat table name <name> in FROM clause. EXTENDED Error Number Error Message Class 3075 <Message> in query expression <expression>. EXTENDED 3076 <Message> in criteria expression. EXTENDED 3077 <Message> in expression. EXTENDED 3078 The Microsoft Jet database engine cannot find the input table or EXTENDED query <name>. Make sure it exists and that its name is spelled correctly. 3079 The specified field <field name> could refer to more than one table EXTENDED listed in the FROM clause of the SQL statement. 3080 Joined table <name> not listed in FROM clause. EXTENDED 3081 Can't join more than one table with the same name <name>. EXTENDED 3082 JOIN operation <operation> refers to a field that isn't in one of the EXTENDED joined tables. 3083 Can't use internal report query. QUERY 3084 Can't insert data with action query. QUERY 3085 Undefined function <name> in expression. EXTENDED 3086 Couldn't delete from specified tables. QUERY 3087 Too many expressions in GROUP BY clause. QUERY 3088 Too many expressions in ORDER BY clause. QUERY 3089 Too many expressions in DISTINCT clause. QUERY 3090 Resultant table not allowed to have more than one AutoNumber field. ISAM 3091 HAVING clause <clause> without grouping or aggregation. UNUSED 3092 Can't use HAVING clause in TRANSFORM statement. EXTENDED 3093 ORDER BY clause <clause> conflicts with DISTINCT. EXTENDED 3094 ORDER BY clause <clause> conflicts with GROUP BY clause. EXTENDED 3095 Can't have aggregate function in expression <expression>. EXTENDED 3096 Can't have aggregate function in WHERE clause <clause>. EXTENDED 3097 Can't have aggregate function in ORDER BY clause <clause>. EXTENDED 3098 Can't have aggregate function in GROUP BY clause <clause>. EXTENDED 3099 Can't have aggregate function in JOIN operation <operation>. EXTENDED 3100 Can't set field <name> in join key to Null. EXTENDED 3101 The Microsoft Jet database engine can't find a record in the EXTENDED table <table name> with key matching field(s) <field name>. Error Number Error Message Class 3102 Circular reference caused by <query reference>. EXTENDED 3103 Circular reference caused by alias <name> in query definition's EXTENDED SELECT list. 3104 Can't specify fixed column heading <value> in a crosstab query EXTENDED more than once. 3105 Missing destination field name in SELECT INTO EXTENDED statement <statement>. 3106 Missing destination field name in UPDATE statement <statement>. EXTENDED 3107 Record(s) can't be added; no insert permission on <name>. EXTENDED 3108 Record(s) can't be edited; no update permission on <name>. EXTENDED 3109 Record(s) can't be deleted; no delete permission on <name>. EXTENDED 3110 Couldn't read definitions; no read definitions permission for table or EXTENDED query <name>. 3111 Couldn't create; no modify design permission for table or EXTENDED query <name>. 3112 Record(s) can't be read; no read permission on <name>. EXTENDED 3113 Can't update <field name>; field not updateable. UNUSED 3114 Can't include MEMO or OLE Object when you select unique EXTENDED values <statement>. 3115 Can't have MEMO or OLE Object fields in aggregate EXTENDED argument <statement>. 3116 Can't have MEMO or OLE Object fields in criteria <statement> for EXTENDED aggregate function. 3117 Can't sort on MEMO or OLE Object <clause>. EXTENDED 3118 Can't join on MEMO or OLE Object <name>. EXTENDED 3119 Can't group on MEMO or OLE Object <clause>. EXTENDED 3120 Can't group on fields selected with '*' <table name>. EXTENDED 3121 Can't group on fields selected with '*'. EXTENDED 3122 You tried to execute a query that doesn't include the specified EXTENDED expression<name> as part of an aggregate function. 3123 Can't use '*' in crosstab query. EXTENDED 3124 Can't input from internal report query <name>. QUERY 3125 The database engine can't find <name>. Make sure it is a valid MISC Error Number Error Message Class parameter or alisa name, that it doesn't include characters or punctuation, and that the name isn't too long. 3126 Invalid bracketing of name <name>. EXTENDED 3127 The INSERT INTO statement contains the following unknown field EXTENDED name: <field name>. Make sure you've typed the name correctly, and try the operation again. 3128 Specify the table containing the records you want to delete. QUERY 3129 Invalid SQL statement; expected 'DELETE', 'INSERT', QUERY 'PROCEDURE', 'SELECT', or 'UPDATE'. 3130 Syntax error in DELETE statement. QUERY 3131 Syntax error in FROM clause. QUERY 3132 Syntax error in GROUP BY clause. QUERY 3133 Syntax error in HAVING clause. QUERY 3134 Syntax error in INSERT INTO statement. QUERY 3135 Syntax error in JOIN operation. QUERY 3136 The LEVEL clause includes a reserved word or argument that is QUERY misspelled or missing, or the punctuation is incorrect. 3137 Missing semicolon (;) at end of SQL statement. QUERY 3138 Syntax error in ORDER BY clause. QUERY 3139 Syntax error in PARAMETER clause. QUERY 3140 Syntax error in PROCEDURE clause. QUERY 3141 The SELECT statement includes a reserved word or an argument QUERY name that is misspelled or missing, or the punctuation is incorrect. 3142 Characters found after end of SQL statement. QUERY 3143 Syntax error in TRANSFORM statement. QUERY 3144 Syntaxt error in UPDATE statement. QUERY 3145 Syntax error in WHERE clause. QUERY 3146 ODBC - call failed. UNUSED 3147 * UNUSED 3148 * UNUSED 3149 * UNUSED 3150 * UNUSED Error Number Error Message Class 3151 ODBC - connection to <name> failed. EXTENDED 3152 * UNUSED 3153 * UNUSED 3154 ODBC - couldn't find DLL <name>. REMOTE 3155 ODBC - insert on a linked table <name> failed. EXTENDED 3156 ODBC - delete on a linked table <name> failed. EXTENDED 3157 ODBC - update on a linked table <name> failed. EXTENDED 3158 Couldn't save record; currently locked by another user. INST ISAM 3159 Not a valid bookmark. MISC 3160 Table isn't open. INST ISAM 3161 Couldn't decrypt file. INST ISAM 3162 You tried to assign the Null value to a variable that isn't MISC a Variant data type. 3163 The field is too small to accept the amount of data you attempted to MISC add. Try inserting or pasting less data. 3164 The field can't be updated because another user or process has locked MISC the corresponding record or table. 3165 Couldn't open .inf file. DBASE 3166 Cannot locate the requested Xbase memo file. DBASE 3167 Record is deleted. MISC 3168 Invalid .inf file. DBASE 3169 The Microsoft Jet database engine could not execute the SQL QUERY statement because it contains a field that has an invalid data type. 3170 Couldn't find installable ISAM. UNUSED 3171 Couldn't find network path or user name. PARADOX 3172 Couldn't open Paradox.net. UNUSED 3173 Couldn't open table 'MSysAccounts' in the workgroup information SECURITY file. 3174 Couldn't open table 'MSysGroups' in the workgroup information file. SECURITY 3175 Date is out of range or is in an invalid format. INST ISAM 3176 Couldn't open file <name>. IMEX 3177 Not a valid table name. IMEX Error Number Error Message Class 3178 * 3179 Encountered unexpected end of file. IMEX 3180 Couldn't write to file <name>. IMEX 3181 Invalid range. IMEX 3182 Invalid file format. IMEX 3183 Not enough space on temporary disk. ISAM 3184 Couldn't execute query; couldn't find linked table. EXTENDED 3185 SELECT INTO on a remote database tried to produce too many EXTENDED fields. 3186 Couldn't save; currently locked by user <name> on EXTENDED machine <name>. 3187 Couldn't read; currently locked by user <name> on EXTENDED machine <name>. 3188 Couldn't update; currently locked by another session on this machine. ISAM 3189 Table <name> is exclusively locked by user <name> on UNUSED machine <name>. 3190 Too many fields defined. ISAM 3191 Can't define field more than once. ISAM 3192 Couldn't find output table <name>. EXTENDED 3193 (unknown). UNUSED 3194 (unknown). UNUSED 3195 (expression). UNUSED 3196 The database <name> is already in use by another person or process. ISAM When the database is available, try the operation again. 3197 The Microsoft Jet database engine stopped the process because you MISC and another user are attempting to change the same data at the same time. 3198 Couldn't start session. Too many sessions already active. ISAM 3199 Couldn't find reference. REF INTEGRITY 3200 The record cannot be deleted or changed because EXTENDED table <name> includes related records. 3201 You can't add or change a record because a related record is required EXTENDED Error Number Error Message Class in table <name>. 3202 Couldn't save; currently locked by another user. ISAM 3203 Subqueries cannot be used in the expression <expression>. EXTENDED 3204 Database already exists. ISAM 3205 Too many crosstab column headers <value>. EXTENDED 3206 Can't create a relationship between a field and itself. REF INTEGRITY 3207 Operation not supported on a Paradox table with no primary key. PARADOX 3208 Invalid deleted setting in the Xbase key of the Windows registry. DBASE 3209 * UNUSED 3210 The connection string is too long. QUERY 3211 The database engine couldn't lock table <name> because it's already EXTENDED in use by another person or process. 3212 Couldn't lock table <name>; currently in use by user <name> on UNUSED machine <name>. 3213 Invalid Date setting in the Xbase key of the Windows registry. DBASE 3214 Invalid Mark setting in the Xbase key of the Windows registry. DBASE 3215 Too many Btrieve tasks. BTRIEVE 3216 Parameter <name> specified where a table name is required. EXTENDED 3217 Parameter <name> specified where a database name is required. EXTENDED 3218 Couldn't update; currently locked. ISAM 3219 Invalid operation. MISC 3220 Incorrect collating sequence. PARADOX 3221 Invalid settings in the Btrieve key of the Windows registry. BTRIEVE 3222 Query can't contain a Database parameter. QUERY 3223 <Parameter name> is invalid because it is too long or contains EXTENDED invalid characters. 3224 Can't read Btrieve data dictionary. BTRIEVE 3225 Encountered a record locking deadlock while performing a Btrieve BTRIEVE operation. 3226 Errors encountered while using the Btrieve DLL. BTRIEVE 3227 Invalid Century setting in the Xbase key of the Windows registry. DBASE Error Number Error Message Class 3228 Invalid Collating Sequence setting in the Paradox key of the PARADOX Windows registry. 3229 Btrieve - can't change field. BTRIEVE 3230 Out-of-date Paradox lock file. PARADOX 3231 ODBC - field would be too long; data truncated. REMOTE 3232 ODBC - couldn't create table. REMOTE 3233 * UNUSED 3234 ODBC - remote query timeout expired. REMOTE 3235 ODBC - data type not supported on server. REMOTE 3236 * UNUSED 3237 * UNUSED 3238 ODBC - data out of range. REMOTE 3239 Too many active users. ISAM 3240 Btrieve - missing Btrieve engine. BTRIEVE 3241 Btrieve - out of resources. BTRIEVE 3242 Invalid reference in SELECT statement. EXTENDED 3243 None of the import field names match fields in the appended table. IMEX 3244 Can't import password-protected spreadsheet. IMEX 3245 Couldn't parse field names from the first row of the import table. IMEX 3246 Operation not supported in transactions. MISC 3247 ODBC - linked table definition has changed. REMOTE 3248 Invalid NetworkAccess setting in the Windows registry. INST ISAM 3249 Invalid PageTimeout setting in the Windows registry. INST ISAM 3250 Couldn't build key. ISAM 3251 Operation is not supported for this type of object. MISC 3252 Can't open a form whose underlying query contains a user-defined MISC function that attempts to set or get the form's RecordsetClone property. 3253 * UNUSED 3254 ODBC - can't lock all records. REMOTE 3255 * UNUSED Error Number Error Message Class 3256 Index file not found. DBASE 3257 Syntax error in WITH OWNERACCESS OPTION declaration. QUERY 3258 The SQL statement couldn't be executed because it contains QUERY ambiguous outer joins. To force one of the joins to be performed first, create a separate query that performs the first join and then include that query in the SQL statement. 3259 Invalid field data type. MISC 3260 Couldn't update; currently locked by user <name> on EXTENDED machine <name>. 3261 Table <name> is exclusively locked by user <name> on EXTENDED machine <name>. 3262 Couldn't lock table <name>; currently in use by user <name> on EXTENDED machine <name>. 3263 Invalid database object. MISC 3264 No field defined - cannot append TableDef or Index. DAO 3265 Item not found in this collection. DAO 3266 Can't append a Field that is already a part of a Fields collection. DAO 3267 Property can be set only when the Field is part of DAO a Recordset object's Fields collection. 3268 Can't set this property once the object is part of a collection. DAO 3269 Can't append an Index that is already part of an Indexes collection. DAO 3270 Property not found. DAO 3271 Invalid property value. DAO 3272 Object isn't a collection. DAO 3273 Method not applicable for this object. DAO 3274 External table isn't in the expected format. INST ISAM 3275 Unexpected error from the external database driver <error number>. INST ISAM 3276 Invalid database object reference. MISC 3277 Can't have more than 10 fields in an index. ISAM 3278 The Microsoft Jet database engine has not been initialized. MISC 3279 The Microsoft Jet database engine has already been initialized. MISC 3280 Can't delete a field that is part of an index or is need by the system. ISAM 3281 Can't delete this index or table. It is either the current index or is used ISAM Error Number Error Message Class in a relationship. 3282 Operation is not supported on a table that contains data. ISAM 3283 Primary key already exists. ISAM 3284 Index already exists. ISAM 3285 Invalid index definition. ISAM 3286 Format of memo file doesn't match specified external database INST ISAM format. 3287 Can't create index on the given field. ISAM 3288 Paradox index is not primary. PARADOX 3289 Syntax error in CONSTRAINT clause. DDL 3290 Syntax error in CREATE TABLE statement. DDL 3291 Syntax error in CREATE INDEX statement. DDL 3292 Syntax error in field definition. DDL 3293 Syntax error in ALTER TABLE statement. DDL 3294 Syntax error in DROP INDEX statement. DDL 3295 Syntax error in DROP TABLE or DROP INDEX. DDL 3296 Join expression not supported. MISC 3297 Couldn't import table or query. No records found, or all records IMEX contain errors. 3298 There are several tables with than name. Please specify owner in the REMOTE format 'owner.table'. 3299 ODBC Specification Conformance Error <message>. Report this UNUSED error to the developer of the application. 3300 Can't create a relationship. REF INTEGRITY 3301 Can't perform this operation; features in this version are not available MISC in databases with older formats. 3302 Can't change a rule while the rules for this table are in use. TLV 3303 Can't delete this field. It's part of one or more relationships. REF INTEGRITY 3304 You must enter a personal identifier (PID) consisting of at least four SECURITY and no more than 20 characters and digits. 3305 Invalid connection string in pass-through query. REMOTE Error Number Error Message Class 3306 You've written a subquery that can return more than one field QUERY without using the EXISTS reserved word in the main query's FROM clause. Revise the SELECT statement of the subquery to request only one field. 3307 The number of columns in the two selected tables or queries of a QUERY union query don't match. 3308 Invalid TOP argument in select query. EXTENDED 3309 Property setting can't be larger than 2K. JPM 3310 This property isn't supported for external data sources for for JPM databases created with a previous version of Microsoft Jet. 3311 Property specified already exists. JPM 3312 Validation rules and default values can't be placed on system or TLV linked tables. 3313 Can't place this validation expression on this field. TLV 3314 The field <name> can't contain a Null value because the Required EXTENDED property for this field is set to True. Enter a value in this field. 3315 Field <name> can't be a zero-lenght string. EXTENDED 3316 <Table-level validation text>. EXTENDED 3317 One or more values are prohibited by the validation rule <rule> set UNUSED for <field name>. Enter a value that the expression for this field can accept. 3318 Values specified in a TOP clause are not allowed in delete queries or EXTENDED reports. 3319 Syntax error in union query. QUERY 3320 <Error> in table-level validation expression. EXTENDED 3321 No database specified in connection string or IN clause. REMOTE 3322 Crosstab query contains one or more invalid fixed column headings. EXTENDED 3323 The query cannot be used as a row source. QUERY 3324 The query is a DDL query and cannot be used as a row source. QUERY 3325 Pass-through query with ReturnsRecords property set to True did REMOTE not return any records. 3326 This Recordset is not updateable. EXTENDED 3327 Field <name> is based on an expression and can't be edited. EXTENDED 3328 Table <name> is read-only. EXTENDED Error Number Error Message Class 3329 Record in table <name> was deleted by another user. EXTENDED 3330 Record in table <name> is locked by another user. EXTENDED 3331 To make changes to this field, first save the record. EXTENDED 3332 Can't enter value into blank field on 'one' side of outer join. EXTENDED 3333 Records in table <name> would have no record on the 'one' side. EXTENDED 3334 Can be present only in version 1.0 format. ISAM 3335 DeleteOnly called with non-zero cbData. JPM