📄 dbdaoerr.h
字号:
/************************************************************************
** D B D A O E R R . H * *
** *
** History *
** ------- *
** 5-17-95 Added to DAO SDK *
** 7-17-95 Added DBDAOERR macro, removed internal only codes *
** 8-30-96 Added replication and ODBC direct errors *
** *
** The following #defines map the integer to a descriptive name
** i.e. 3270 -> E_DAO_VtoPropNotFound *
** *
** *
*************************************************************************
** Copyright (C) 1996 - 1999 Microsoft Corporation *
** All Rights Reserved *
************************************************************************/
#ifndef _DDAOERR_H_
#pragma option push -b -a8 -pc -A- /*P_O_Push*/
#define _DDAOERR_H_
#define DBDAOERR(x) MAKE_SCODE(SEVERITY_ERROR, FACILITY_CONTROL, x)
#define E_DAO_InternalError DBDAOERR(3000) //Reserved error (|); there is no message for this error.
#define E_DAO_InvalidParameter DBDAOERR(3001) //Invalid argument.
#define E_DAO_CantBegin DBDAOERR(3002) //Couldn't start session.
#define E_DAO_TransTooDeep DBDAOERR(3003) //Couldn't start transaction; too many transactions already nested.
#define E_DAO_DatabaseNotFound DBDAOERR(3004) //Couldn't find database '|'.
#define E_DAO_DatabaseInvalidName DBDAOERR(3005) //'|' isn't a valid database name.
#define E_DAO_DatabaseLocked DBDAOERR(3006) //Database '|' is exclusively locked.
#define E_DAO_DatabaseOpenError DBDAOERR(3007) //Can't open library database '|'.
#define E_DAO_TableLocked DBDAOERR(3008) //Table '|' is exclusively locked.
#define E_DAO_TableInUse DBDAOERR(3009) //Couldn't lock table '|'; currently in use.
#define E_DAO_TableDuplicate DBDAOERR(3010) //Table '|' already exists.
#define E_DAO_ObjectNotFound DBDAOERR(3011) //Couldn't find object '|'.
#define E_DAO_ObjectDuplicate DBDAOERR(3012) //Object '|' already exists.
#define E_DAO_CannotRename DBDAOERR(3013) //Couldn't rename installable ISAM file.
#define E_DAO_TooManyOpenTables DBDAOERR(3014) //Can't open any more tables.
#define E_DAO_IndexNotFound DBDAOERR(3015) //'|' isn't an index in this table.
#define E_DAO_ColumnDoesNotFit DBDAOERR(3016) //Field won't fit in record.
#define E_DAO_ColumnTooBig DBDAOERR(3017) //The size of a field is too long.
#define E_DAO_ColumnNotFound DBDAOERR(3018) //Couldn't find field '|'.
#define E_DAO_NoCurrentIndex DBDAOERR(3019) //Operation invalid without a current index.
#define E_DAO_RecordNoCopy DBDAOERR(3020) //Update or CancelUpdate without AddNew or Edit.
#define E_DAO_NoCurrentRecord DBDAOERR(3021) //No current record.
#define E_DAO_KeyDuplicate DBDAOERR(3022) //Duplicate value in index, primary key, or relationship. Changes were unsuccessful.
#define E_DAO_AlreadyPrepared DBDAOERR(3023) //AddNew or Edit already used.
#define E_DAO_FileNotFound DBDAOERR(3024) //Couldn't find file '|'.
#define E_DAO_TooManyOpenFiles DBDAOERR(3025) //Can't open any more files.
#define E_DAO_DiskFull DBDAOERR(3026) //Not enough space on disk.
#define E_DAO_PermissionDenied DBDAOERR(3027) //Can't update. Database or object is read-only.
#define E_DAO_CannotOpenSystemDb DBDAOERR(3028) //Can't start your application. The system database is missing or opened exclusively by another user.
#define E_DAO_InvalidLogon DBDAOERR(3029) //Not a valid account name or password.
#define E_DAO_InvalidAccountName DBDAOERR(3030) //'|' isn't a valid account name.
#define E_DAO_InvalidPassword DBDAOERR(3031) //Not a valid password.
#define E_DAO_InvalidOperation DBDAOERR(3032) //Can't perform this operation.
#define E_DAO_AccessDenied DBDAOERR(3033) //No permission for '|'.
#define E_DAO_NotInTransaction DBDAOERR(3034) //Commit or Rollback without BeginTrans.
#define E_DAO_OutOfMemory DBDAOERR(3035) //*
#define E_DAO_CantAllocatePage DBDAOERR(3036) //Database has reached maximum size.
#define E_DAO_NoMoreCursors DBDAOERR(3037) //Can't open any more tables or queries.
#define E_DAO_OutOfBuffers DBDAOERR(3038) //*
#define E_DAO_TooManyIndexes DBDAOERR(3039) //Couldn't create index; too many indexes already defined.
#define E_DAO_ReadVerifyFailure DBDAOERR(3040) //Disk I/O error during read.
#define E_DAO_FilesysVersion DBDAOERR(3041) //Can't open a database created with a previous version of your application.
#define E_DAO_NoMoreFiles DBDAOERR(3042) //Out of MS-DOS file handles.
#define E_DAO_DiskError DBDAOERR(3043) //Disk or network error.
#define E_DAO_InvalidPath DBDAOERR(3044) //'|' isn't a valid path.
#define E_DAO_FileShareViolation DBDAOERR(3045) //Couldn't use '|'; file already in use.
#define E_DAO_FileLockViolation DBDAOERR(3046) //Couldn't save; currently locked by another user.
#define E_DAO_RecordTooBig DBDAOERR(3047) //Record is too large.
#define E_DAO_TooManyOpenDatabases DBDAOERR(3048) //Can't open any more databases.
#define E_DAO_InvalidDatabase DBDAOERR(3049) //Can't open database '|'. It may not be a database that your application recognizes, or the file may be corrupt.
#define E_DAO_FileLockingUnavailable DBDAOERR(3050) //Couldn't lock file.
#define E_DAO_FileAccessDenied DBDAOERR(3051) //Couldn't open file '|'.
#define E_DAO_SharingBufferExceeded DBDAOERR(3052) //MS-DOS file sharing lock count exceeded. You need to increase the number of locks installed with SHARE.EXE.
#define E_DAO_TaskLimitExceeded DBDAOERR(3053) //Too many client tasks.
#define E_DAO_TooManyLongColumns DBDAOERR(3054) //Too many Memo or OLE object fields.
#define E_DAO_InvalidFilename DBDAOERR(3055) //Not a valid file name.
#define E_DAO_AbortSalvage DBDAOERR(3056) //Couldn't repair this database.
#define E_DAO_LinkNotSupported DBDAOERR(3057) //Operation not supported on attached, or linked, tables.
#define E_DAO_NullKeyDisallowed DBDAOERR(3058) //Index or primary key can't contain a null value.
#define E_DAO_OperationCanceled DBDAOERR(3059) //Operation canceled by user.
#define E_DAO_QueryParmTypeMismatch DBDAOERR(3060) //Wrong data type for parameter '|'.
#define E_DAO_QueryMissingParmsM DBDAOERR(3061) //Too few parameters. Expected |.
#define E_DAO_QueryDuplicateAliasM DBDAOERR(3062) //Duplicate output alias '|'.
#define E_DAO_QueryDuplicateOutputM DBDAOERR(3063) //Duplicate output destination '|'.
#define E_DAO_QueryIsBulkOp DBDAOERR(3064) //Can't open action query '|'.
#define E_DAO_QueryIsNotBulkOp DBDAOERR(3065) //Can't execute a non-action query.
#define E_DAO_QueryNoOutputsM DBDAOERR(3066) //Query or table must contain at least one output field.
#define E_DAO_QueryNoInputTablesM DBDAOERR(3067) //Query input must contain at least one table or query.
#define E_DAO_QueryInvalidAlias DBDAOERR(3068) //Not a valid alias name.
#define E_DAO_QueryInvalidBulkInputM DBDAOERR(3069) //The action query '|' cannot be used as a row source.
#define E_DAO_QueryUnboundRef DBDAOERR(3070) //Can't bind name '|'.
#define E_DAO_QueryExprEvaluation DBDAOERR(3071) //Can't evaluate expression.
#define E_DAO_EvalEBESErr DBDAOERR(3072) //|
#define E_DAO_QueryNotUpdatable DBDAOERR(3073) //Operation must use an updatable query.
#define E_DAO_TableRepeatInFromList DBDAOERR(3074) //Can't repeat table name '|' in FROM clause.
#define E_DAO_QueryExprSyntax DBDAOERR(3075) //|1 in query expression '|2'.
#define E_DAO_QbeExprSyntax DBDAOERR(3076) //| in criteria expression.
#define E_DAO_FindExprSyntax DBDAOERR(3077) //| in expression.
#define E_DAO_InputTableNotFound DBDAOERR(3078) //Couldn't find input table or query '|'.
#define E_DAO_QueryAmbigRefM DBDAOERR(3079) //Ambiguous field reference '|'.
#define E_DAO_JoinTableNotInput DBDAOERR(3080) //Joined table '|' not listed in FROM clause.
#define E_DAO_UnaliasedSelfJoin DBDAOERR(3081) //Can't join more than one table with the same name (|).
#define E_DAO_ColumnNotInJoinTable DBDAOERR(3082) //JOIN operation '|' refers to a non-joined table.
#define E_DAO_QueryIsMGB DBDAOERR(3083) //Can't use internal report query.
#define E_DAO_QueryInsIntoBulkMGB DBDAOERR(3084) //Can't insert data with action query.
#define E_DAO_ExprUnknownFunctionM DBDAOERR(3085) //Undefined function '|' in expression.
#define E_DAO_QueryCannotDelete DBDAOERR(3086) //Couldn't delete from specified tables.
#define E_DAO_QueryTooManyGroupExprs DBDAOERR(3087) //Too many expressions in GROUP BY clause.
#define E_DAO_QueryTooManyOrderExprs DBDAOERR(3088) //Too many expressions in ORDER BY clause.
#define E_DAO_QueryTooManyDistExprs DBDAOERR(3089) //Too many expressions in DISTINCT output.
#define E_DAO_Column2ndSysMaint DBDAOERR(3090) //Resultant table not allowed to have more than one Counter or Autonumber field.
#define E_DAO_HavingWOGrouping DBDAOERR(3091) //HAVING clause (|) without grouping or aggregation.
#define E_DAO_HavingOnTransform DBDAOERR(3092) //Can't use HAVING clause in TRANSFORM statement.
#define E_DAO_OrderVsDistinct DBDAOERR(3093) //ORDER BY clause (|) conflicts with DISTINCT.
#define E_DAO_OrderVsGroup DBDAOERR(3094) //ORDER BY clause (|) conflicts with GROUP BY clause.
#define E_DAO_AggregateInArgument DBDAOERR(3095) //Can't have aggregate function in expression (|).
#define E_DAO_AggregateInWhere DBDAOERR(3096) //Can't have aggregate function in WHERE clause (|).
#define E_DAO_AggregateInOrderBy DBDAOERR(3097) //Can't have aggregate function in ORDER BY clause (|).
#define E_DAO_AggregateInGroupBy DBDAOERR(3098) //Can't have aggregate function in GROUP BY clause (|).
#define E_DAO_AggregateInJoin DBDAOERR(3099) //Can't have aggregate function in JOIN operation (|).
#define E_DAO_NullInJoinKey DBDAOERR(3100) //Can't set field '|' in join key to Null.
#define E_DAO_ValueBreaksJoin DBDAOERR(3101) //There is no record in table '|2' with key matching field(s) '|1'.
#define E_DAO_QueryTreeCycle DBDAOERR(3102) //Circular reference caused by '|'.
#define E_DAO_OutputAliasCycle DBDAOERR(3103) //Circular reference caused by alias '|' in query definition's SELECT list.
#define E_DAO_QryDuplicatedFixedSetM DBDAOERR(3104) //Can't specify Fixed Column Heading '|' in a crosstab query more than once.
#define E_DAO_NoSelectIntoColumnName DBDAOERR(3105) //Missing destination field name in SELECT INTO statement (|).
#define E_DAO_NoUpdateColumnName DBDAOERR(3106) //Missing destination field name in UPDATE statement (|).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -