home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1996 November / VPR9611B.ISO / vabasic / ntclnt.exe / DISK8 / data.8 / datab / INCLUDE / BTERRMSG.H next >
C/C++ Source or Header  |  1996-07-29  |  30KB  |  525 lines

  1. /*------------------------------------------------------------------------
  2.  * $Source: /rcs/vwrcs/brtl/bterrmsg.h,v $
  3.  * Checked in by: $Author: ramin $
  4.  * $Date: 1996/05/30 16:00:12 $                   $Revision: 1.4 $
  5.  *
  6.  * Copyright 1987, Techtrol Ltd.
  7.  * Copyright 1990, Visual Edge Software Ltd.
  8.  * -----------------------------------------
  9.  * ALL RIGHTS RESERVED.  This notice is intended as a precaution against
  10.  * inadvertent publication, and shall not be deemed to constitute an
  11.  * acknowledgment that publication has  occurred nor to imply any waiver
  12.  * of confidentiality.  The year included in the notice is the year
  13.  * of the creation of the work.
  14.  *------------------------------------------------------------------------*/
  15. /*------------------------------------------------------------------------
  16.  *
  17.  *         Module Name: bterrmsg.h
  18.  *  Module Description: All trappable error message defines.
  19.  *
  20.  *                Date: April 1996
  21.  *
  22.  *------------------------------------------------------------------------*/
  23. #ifndef BTERRMSG_HEADER
  24. #define BTERRMSG_HEADER
  25.  
  26. #define TRAP_3_RETURN_WITHOUT_GOSUB       3 /* "Return without GoSub" */
  27. #define TRAP_4_WRONG_NUMBER_OF_DIMENSIONS 4 /* "Wrong number of dimensions" */
  28. #define TRAP_5_ILLEGAL_FUNCTION_CALL      5 /* "Illegal function call" */
  29. #define TRAP_6_VALUE_ABOVE_RANGE          6 /* "Overflow" */
  30. #define TRAP_7_INSUFFICIENT_MEMORY        7 /* "Out of memory" */
  31. #define TRAP_8_VALUE_BELOW_RANGE          8 /* "Underflow" */
  32. #define TRAP_9_ARRAY_SUBSCRIPT_OUT_OF_RANGE  9 /* "Subscript out of range" */
  33. #define TRAP_10_DUPLICATE_DEFINITION     10 /* "Duplicate definition" */
  34. #define TRAP_11_DIVISION_BY_ZERO         11 /* "Division by zero" */
  35. #define TRAP_13_TYPE_MISMATCH            13 /* "Type mismatch" */
  36. #define TRAP_14_CANNOT_ALLOCATE_STRING   14 /* "Out of string space" */
  37. #define TRAP_16_TOO_MANY_TEMP_STRINGS    16 /* "String formula too complex" */
  38. #define TRAP_17_CANT_CONTINUE            17 /* "Can't continue" */
  39. #define TRAP_19_NO_RESUME                19 /* "No Resume" */
  40. #define TRAP_20_RESUME_WITHOUT_ERROR     20 /* "Resume without error" */
  41. #define TRAP_28_INSUFFICIENT_STACK_SPACE 28 /* "Out of stack space" */
  42. #define TRAP_35_SUB_OR_FUNC_NOT_DEFINED  35 /* "Sub or Function not defined" */
  43. #define TRAP_48_ERROR_IN_LOADING_DLL     48 /* "Error in loading DLL" */
  44. #define TRAP_49                          49 /* "Bad DLL calling convention" */
  45. #define TRAP_50_NOT_IMPL_FOR_PLATFORM    50 /* "not implemented for this platform" */
  46. #define TRAP_51_INTERNAL_ERROR           51 /* "Internal error" */
  47. #define TRAP_52_INVALID_FILE_NUMBER      52 /* "Bad file name or number" */
  48. #define TRAP_53_FILE_NOT_FOUND           53 /* "File not found" */
  49. #define TRAP_54_INVALID_FILE_MODE        54 /* "Bad file mode" */
  50. #define TRAP_55_FILE_ALREADY_OPEN        55 /* "File already open" */
  51. #define TRAP_57_DEVICE_IO_ERROR          57 /* "Device I/O error" */
  52. #define TRAP_58_FILE_ALREADY_EXISTS      58 /* "File already exists" */
  53. #define TRAP_59_INVALID_RECORD_LENGTH    59 /* "Bad record length" */
  54. #define TRAP_61_DISK_FULL                61 /* "Disk full" */
  55. #define TRAP_62_INPUT_PAST_END_OF_FILE   62 /* "Input past end of file" */
  56. #define TRAP_63_INVALID_RECORD_NUMBER    63 /* "Bad record number" */
  57. #define TRAP_64_INVALID_FILE_NAME        64 /* "Bad file name" */
  58. #define TRAP_67_TOO_MANY_FILES_OPEN      67 /* "Too many files open" */
  59. #define TRAP_68_DEVICE_UNAVAILABLE       68 /* "Device unavailable" */
  60. #define TRAP_70_PERMISSION_DENIED        70 /* "Permission denied" */
  61. #define TRAP_71_DISK_NOT_READY           71 /* "Disk not ready" */
  62. #define TRAP_74_CANT_RENAME_DIFF_DRIVE   74 /* "Can't rename with different drive" */
  63. #define TRAP_75_PATH_FILE_ACCESS_ERROR   75 /* "Path/File access error" */
  64. #define TRAP_76_PATH_NOT_FOUND           76 /* "Path not found" */
  65. #define TRAP_91_OBJECT_VARIABLE_NOT_SET  91 /* "Object variable not set" */
  66. #define TRAP_92_FOR_LOOP_NOT_INITIALIZED 92 /* "For loop not initialized" */
  67. #define TRAP_93_INVALID_PATTERN          93 /* "Invalid pattern string" */
  68. #define TRAP_94_INVALID_USE_OF_NULL      94 /* "Invalid use of Null" */
  69. #define TRAP_95_CANNOT_UNLOAD_FORM       95 /* "Cannot destroy active form instance" */
  70. #define TRAP_96_BAD_REDIM                96 /* "Cannot use redim on an outside array" */
  71.  
  72. #define TRAP_260 260 /* "No timer available" */
  73. #define TRAP_280 280 /* "DDE channel not fully closed; awaiting response from foreign application" */
  74. #define TRAP_281 281 /* "No More DDE channels" */
  75. #define TRAP_282 282 /* "No foreign application responded to a DDE initiate" */
  76. #define TRAP_283 283 /* "Multiple applications responded to a DDE initiate" */
  77. #define TRAP_284 284 /* "DDE channel locked" */
  78. #define TRAP_285 285 /* "Foreign application won't perform DDE method or operation" */
  79. #define TRAP_286 286 /* "Timeout while waiting for DDE response" */
  80. #define TRAP_287 287 /* "User pressed Escape Key during DDE operation" */
  81. #define TRAP_288 288 /* "Destination is busy" */
  82. #define TRAP_289 289 /* "Data not provided in DDE operation" */
  83. #define TRAP_290 290 /* "Data in wrong format" */
  84. #define TRAP_291 291 /* "Foreign application quit" */
  85. #define TRAP_292 292 /* "DDE conversation closed or changed" */
  86. #define TRAP_293 293 /* "DDE Method invoked with no channel open" */
  87. #define TRAP_294 294 /* "Invalid DDE Link format" */
  88. #define TRAP_295 295 /* "Message queue filled; DDE message lost" */
  89. #define TRAP_296 296 /* "PasteLink already performed on this control" */
  90. #define TRAP_297 297 /* "Can't set LinkMode; invalid LinkTopic" */
  91. #define TRAP_320 320 /* "Can't use character device names in file names: '%s'" */
  92. #define TRAP_321_INVALID_FILE_FORMAT 321 /* "Invalid file format" */
  93. #define TRAP_340_CA_ELEMENT_DOES_NOT_EXIST 340 /* "Control array element 'x' does not exist" */
  94. #define TRAP_341_INVALID_CONTROL_ARRAY_INDEX 341 /* "Invalid object array index" */
  95. #define TRAP_342_NOT_ENOUGH_ROOM_FOR_CTRL_ARRAY 342 /* "Not enough room to allocate control array '%s'" */
  96. #define TRAP_343_NOT_AN_ARRAY 343 /* "Object not an array" */
  97. #define TRAP_344 344 /* "Must specify index for object array" */
  98. #define TRAP_345 345 /* "Reached limit: cannot create any more controls for this form" */
  99. #define TRAP_360_OBJECT_ALREADY_LOADED 360 /* "Object already loaded" */
  100. #define TRAP_361_CANT_LOAD_OBJECT 361 /* "Can't load or unload this object" */
  101. #define TRAP_362_CANT_UNLOAD_DESIGN_TIME_CONTROL 362 /* "Can't unload controls created at design time" */
  102. #define TRAP_363 363 /* "Custom control '%s' not found" */
  103. #define TRAP_364 364 /* "Object was unloaded" */
  104. #define TRAP_365 365 /* "Unable to unload within this context" */
  105. #define TRAP_366 366 /* "No MDI form available to load" */
  106. #define TRAP_380_INVALID_PROPERTY_VALUE 380 /* "Invalid property value" */
  107. #define TRAP_381_INVALID_PROPERTY_ARRAY_INDEX 381 /* "Invalid property array index" */
  108. #define TRAP_382 382 /* "'%s' property cannot be set at run time" */
  109. #define TRAP_383 383 /* "'%s' property is read-only" */
  110. #define TRAP_384 384 /* "'%s' property can't be modified when form is minimized or maximized" */
  111. #define TRAP_385 385 /* "Must specify index when using property array" */
  112. #define TRAP_386 386 /* "'%s' property not available at run time" */
  113. #define TRAP_387 387 /* "'%s' property can't be set on this control" */
  114. #define TRAP_388 388 /* "Can't set Visible property from a parent menu" */
  115. #define TRAP_389 389 /* "Invalid key" */
  116. #define TRAP_390_NO_DEFINED_VALUE 390 /* "No Defined Value" */
  117. #define TRAP_391 391 /* "Name not available" */
  118. #define TRAP_392 392 /* "MDI child forms cannot be hidden" */
  119. #define TRAP_393 393 /* "'%s' property cannot be read at runtime" */
  120. #define TRAP_394 394 /* "'%s' property is write-only" */
  121. #define TRAP_395 395 /* "Can't use separator bar as menu name" */
  122. #define TRAP_400 400 /* "Form already displayed; can't show modally" */
  123. #define TRAP_401 401 /* "Can't show non-modal form when modal form is displayed" */
  124. #define TRAP_402 402 /* "Must close or hide topmost modal form first" */
  125. #define TRAP_403 403 /* "MDI forms cannot be shown modally" */
  126. #define TRAP_404 404 /* "MDI child forms cannot be shown modally" */
  127. #define TRAP_405 405 /* "Parent of MDI forms cannot be shown" */
  128. #define TRAP_406 406 /* "Form cannot be shown" */
  129. #define TRAP_420_INVALID_OBJECT_REFERENCE 420 /* "Invalid object reference" */
  130. #define TRAP_421 421 /* "Method not applicable for this object" */
  131. #define TRAP_422_PROPERTY_NOT_FOUND    422 /* "Property '%s' not found" */
  132. #define TRAP_423 423 /* "Property or control '%s' not found" */
  133. #define TRAP_424_OBJECT_REQUIRED       424 /* "Object required" */
  134. #define TRAP_425_INVALID_OBJECT_USE    425 /* "Invalid object use" */
  135. #define TRAP_426 426 /* "Only one MDI Form allowed" */
  136. #define TRAP_427 427 /* "Invalid object type: Menu control requiered" */
  137. #define TRAP_428 428 /* "Popup menu must have at least one sub menu" */
  138. #define TRAP_429_OLE_CANT_CREATE_OBJ   429 /* "Cannot create object" */
  139. #define TRAP_436_OLE_CALL_OVERFLOW     436 /* "Method or property call overflow" */
  140. #define TRAP_438_OLE_METHOD_NOT_FOUND  438 /* "Method or property not found" */
  141. #define TRAP_439_OLE_ARG_TYPE_MISMATCH 439 /* "Method or property call type mismatch" */
  142. #define TRAP_450_WRONG_PROPERTY_ACCESS 450 /* "Wrong number of arguments or invalid property '%s' assignment" */
  143. #define TRAP_460 460 /* "Invalid Clipboard format" */
  144. #define TRAP_461 461 /* "Specified format does not match format of data" */
  145. #define TRAP_480 480 /* "Can't create AutoRedraw image" */
  146. #define TRAP_481 481 /* "Invalid picture" */
  147. #define TRAP_482 482 /* "Printer error" */
  148. #define TRAP_520 520 /* "Can't empty Clipboard" */
  149. #define TRAP_521 521 /* "Can't open Clipboard" */
  150.  
  151. /* 
  152.  * ODBC trappable error messages, ranging from 600 to 648
  153.  */
  154.  
  155. #define TRAP_600        600     /* */
  156. #define TRAP_601        601     /* */
  157. #define TRAP_602        602     /* General ODBC error: '%s' */
  158. #define TRAP_603        603     /* ODBC - SQLAllocEnv failure */
  159. #define TRAP_604        604     /* ODBC - SQLAllocConnect failure */
  160. #define TRAP_605        605     /* Open Database - invalid connect string */
  161. #define TRAP_606        606     /* ODBC - SQLConnect failure '%s' */
  162. #define TRAP_607        607     /* Access attempted on unopened database */
  163. #define TRAP_608        608     /* ODBC - SQLFreeConnect error */
  164. #define TRAP_609        609     /* */
  165. #define TRAP_610        610     /* ODBC - SQLAllocStmt failure */
  166. #define TRAP_611        611     /* ODBC - SQLTables (TableDefs.Refresh) failure: '%s' */
  167. #define TRAP_612        612     /* ODBC - SQLBindCol failure */
  168. #define TRAP_613        613     /* ODBC - SQLFetch failure: '%s' */
  169. #define TRAP_614        614     /* ODBC - SQLColumns failure: '%s' */
  170. #define TRAP_615        615     /* ODBC - SQLStatistics failure: '%s' */
  171. #define TRAP_616        616     /* */
  172. #define TRAP_617        617     /* */
  173. #define TRAP_618        618     /* ODBC - SQLNumResultCols (Create Dynaset) failure: '%s' */
  174. #define TRAP_619        619     /* ODBC - SQLDescribeCol (Create Dynaset) failure: '%s' */
  175. #define TRAP_620        620     /* Dynaset is open - CreateDynaset method is not allowed */
  176. #define TRAP_621        621     /* */
  177. #define TRAP_622        622     /* */
  178. #define TRAP_623        623     /* */
  179. #define TRAP_624        624     /* */
  180. #define TRAP_625        625     /* */
  181. #define TRAP_626        626     /* Attempt to Move past EOF */
  182. #define TRAP_627        627     /* */
  183. #define TRAP_628        628     /* */
  184. #define TRAP_629        629     /* Warning: '%s' (ODBC - SQLSetConnectOption failure) */
  185. #define TRAP_630        630     /* Property is read-only */
  186. #define TRAP_631        631     /* */
  187. #define TRAP_632        632     /* Update illegal without previous Edit or AddNew method */
  188. #define TRAP_633        633     /* */
  189. #define TRAP_634        634     /* */
  190. #define TRAP_635        635     /* */
  191. #define TRAP_636        636     /* Set field value illegal without previous Edit or AddNew method */
  192. #define TRAP_637        637     /* */
  193. #define TRAP_638        638     /* Access attempted on unopened Dynaset */
  194. #define TRAP_639        639     /* Field type is illegal */
  195. #define TRAP_640        640     /* Field size illegal for specified FieldType */
  196. #define TRAP_641        641     /* '%s' illegal - no current record */
  197. #define TRAP_642        642     /* */
  198. #define TRAP_643        643     /* Property not found */
  199. #define TRAP_644        644     /* */
  200. #define TRAP_645        645     /* */
  201. #define TRAP_646        646     /* GetChunk: Offset/Size argument combination illegal */
  202. #define TRAP_647        647     /* Delete method requires a name argument */
  203. #define TRAP_648        648     /* */
  204.  
  205. /* 
  206.  * Data Access Trappable error messages, ranging from 3001 to 3299
  207.  */
  208.  
  209. #define TRAP_3001       3001    /* Invalid Argument */
  210. #define TRAP_3002       3002    /* */
  211. #define TRAP_3003       3003    /* */
  212. #define TRAP_3004       3004    /* Couldn't find database '%s' */
  213. #define TRAP_3005       3005    /* '%s' isn't a valid database name */
  214. #define TRAP_3006       3006    /* */
  215. #define TRAP_3007       3007    /* Couldn't open database '%s' */
  216. #define TRAP_3008       3008    /* */
  217. #define TRAP_3009       3009    /* */
  218. #define TRAP_3010       3010    /* Table '%s' already exists */
  219. #define TRAP_3011       3011    /* Couldn't find object '%s' */
  220. #define TRAP_3012       3012    /* Object '%s' already exists */
  221. #define TRAP_3013       3013    /* */
  222. #define TRAP_3014       3014    /* */
  223. #define TRAP_3015       3015    /* '%s' isn't an index in this table */
  224. #define TRAP_3016       3016    /* Field won't fit in record */
  225. #define TRAP_3017       3017    /* Field length is too long */
  226. #define TRAP_3018       3018    /* Couldn't find field '%s' */
  227. #define TRAP_3019       3019    /* */
  228. #define TRAP_3020       3020    /* Update without AddNew or Edit */
  229. #define TRAP_3021       3021    /* No current record */
  230. #define TRAP_3022       3022    /* */
  231. #define TRAP_3023       3023    /* AddNew or Edit already used */
  232. #define TRAP_3024       3024    /* */
  233. #define TRAP_3025       3025    /* */
  234. #define TRAP_3026       3026    /* */
  235. #define TRAP_3027       3027    /* Couldn't update; database is read-only */
  236. #define TRAP_3028       3028    /* */
  237. #define TRAP_3029       3029    /* */
  238. #define TRAP_3030       3030    /* */
  239. #define TRAP_3031       3031    /* */
  240. #define TRAP_3032       3032    /* */
  241. #define TRAP_3033       3033    /* */
  242. #define TRAP_3034       3034    /* */
  243. #define TRAP_3035       3035    /* out of memory */
  244. #define TRAP_3036       3036    /* */
  245. #define TRAP_3037       3037    /* Can't open any more tables or queries */
  246. #define TRAP_3038       3038    /* out of memory */
  247. #define TRAP_3039       3039    /* */
  248. #define TRAP_3040       3040    /* */
  249. #define TRAP_3041       3041    /* */
  250. #define TRAP_3042       3042    /* */
  251. #define TRAP_3043       3043    /* */
  252. #define TRAP_3044       3044    /* */
  253. #define TRAP_3045       3045    /* */
  254. #define TRAP_3046       3046    /* */
  255. #define TRAP_3047       3047    /* Record is too large */
  256. #define TRAP_3048       3048    /* Can't open any more databases */
  257. #define TRAP_3049       3049    /* */
  258. #define TRAP_3050       3050    /* */
  259. #define TRAP_3051       3051    /* Couldn't open file '%s' */
  260. #define TRAP_3052       3052    /* */
  261. #define TRAP_3053       3053    /* */
  262. #define TRAP_3054       3054    /* */
  263. #define TRAP_3055       3055    /* */
  264. #define TRAP_3056       3056    /* Couldn't repair this database */
  265. #define TRAP_3057       3057    /* */
  266. #define TRAP_3058       3058    /* Can't have Null value in index */
  267. #define TRAP_3059       3059    /* */
  268. #define TRAP_3060       3060    /* Wrong data type for parameter '%s' */
  269. #define TRAP_3061       3061    /* '%s' parameters were expected but only '%s' were supplied */
  270. #define TRAP_3062       3062    /* */
  271. #define TRAP_3063       3063    /* */
  272. #define TRAP_3064       3064    /* Can't open action query '%s' */
  273. #define TRAP_3065       3065    /* Can't execute a non-action query */
  274. #define TRAP_3066       3066    /* Query must have at least one output field */
  275. #define TRAP_3067       3067    /* Query input must contain at least one table or query */
  276. #define TRAP_3068       3068    /* */
  277. #define TRAP_3069       3069    /* */
  278. #define TRAP_3070       3070    /* Can' bind name '%s' */
  279. #define TRAP_3071       3071    /* Can't evaluate expression */
  280. #define TRAP_3072       3072    /* */
  281. #define TRAP_3073       3073    /* Operation must use an updatable query */
  282. #define TRAP_3074       3074    /* Can't repeat table name '%s' in FROM clause */
  283. #define TRAP_3075       3075    /* '%s' in query expression '%s' */
  284. #define TRAP_3076       3076    /* '%s' in criteria expression */
  285. #define TRAP_3077       3077    /* '%s' in expression */
  286. #define TRAP_3078       3078    /* Couldn't find input tabel or query '%s' */
  287. #define TRAP_3079       3079    /* Ambiguous field reference '%s' */
  288. #define TRAP_3080       3080    /* Joined table '%s' not listed in FROM clause */
  289. #define TRAP_3081       3081    /* Can't join more than one table with the same name '%s' */
  290. #define TRAP_3082       3082    /* JOIN operation '%s' refers to a non-joined table */
  291. #define TRAP_3083       3083    /* */
  292. #define TRAP_3084       3084    /* Can't insert into action query */
  293. #define TRAP_3085       3085    /* Undefined function '%s' in expression */
  294. #define TRAP_3086       3086    /* Couldn't delete from specified tables */
  295. #define TRAP_3087       3087    /* Too many expressions in GROUP BY clause */
  296. #define TRAP_3088       3088    /* Too many expressions in ORDER BY clause */
  297. #define TRAP_3089       3089    /* Too many expressions in DISTINCT output */
  298. #define TRAP_3090       3090    /* Resultant table may not have more than one Counter field */
  299. #define TRAP_3091       3091    /* HAVING clause '%s' without grouping or aggregation */
  300. #define TRAP_3092       3092    /* */
  301. #define TRAP_3093       3093    /* ORDER BY clause '%s' conflicts with DISTINCT */
  302. #define TRAP_3094       3094    /* ORDER BY clause '%s' conflicts with GROUP BY claus */
  303. #define TRAP_3095       3095    /* Can't have aggregate function in expression */
  304. #define TRAP_3096       3096    /* Can't have aggregate function in WHERE clause */
  305. #define TRAP_3097       3097    /* Can't have aggregate function in ORDER BY clause */
  306. #define TRAP_3098       3098    /* Can't have aggregate function in GROUP BY clause */
  307. #define TRAP_3099       3099    /* Can't have aggregate function in JOIN operation */
  308. #define TRAP_3100       3100    /* Can't set field '%s' in join key to Null */
  309. #define TRAP_3101       3101    /* Join is broken by value(s) in fields '%s' */
  310. #define TRAP_3102       3102    /* Circular reference caused by '%s' */
  311. #define TRAP_3103       3103    /* Circular reference caused by alias '%s' in query definition ...*/
  312. #define TRAP_3104       3104    /* Can't specify Fixed Column Heading '%s' item in a crosstab query more than once */
  313. #define TRAP_3105       3105    /* Missing destination field name in SELECT INTO statement */
  314. #define TRAP_3106       3106    /* Missing destination field name in UPDATE statement '%s' */
  315. #define TRAP_3107       3107    /* Couldn't insert; no insert permission for table or query '%s' */
  316. #define TRAP_3108       3108    /* Couldn't replace; no replace permission for table or query '%s' */
  317. #define TRAP_3109       3109    /* Couldn't delete; no delete permission for table or query '%s' */
  318. #define TRAP_3110       3110    /* */
  319. #define TRAP_3111       3111    /* */
  320. #define TRAP_3112       3112    /* */
  321. #define TRAP_3113       3113    /* Can't update '%s'; field not updatable */
  322. #define TRAP_3114       3114    /* Can't include Memo or Long Binary when you select unique values '%s' */
  323. #define TRAP_3115       3115    /* Can't include Memo or Long Binary in aggregate argument '%s' */
  324. #define TRAP_3116       3116    /* Can't include Memo or Long Binary in criteria '%s' for aggregate functions */
  325. #define TRAP_3117       3117    /* Can't sort on Memo or Long Binary '%s' */
  326. #define TRAP_3118       3118    /* Can't join on Memo or Long Binary '%s' */
  327. #define TRAP_3119       3119    /* Can't group on Memo or Long Binary '%s' */
  328. #define TRAP_3120       3120    /* Can't group on fields selected with '*' '%s'*/
  329. #define TRAP_3121       3121    /* Can't group on fields selected with '*' */
  330. #define TRAP_3122       3122    /* */
  331. #define TRAP_3123       3123    /* */
  332. #define TRAP_3124       3124    /* */
  333. #define TRAP_3125       3125    /* */
  334. #define TRAP_3126       3126    /* Invalid bracketing of name '%s' */
  335. #define TRAP_3127       3127    /* */
  336. #define TRAP_3128       3128    /* Must specify tables to delete from */
  337. #define TRAP_3129       3129    /* Invalid SQL statement; expected 'DELETE', INSERT', ... */
  338. #define TRAP_3130       3130    /* Syntax error in DELETE statement */
  339. #define TRAP_3131       3131    /* Syntax error in FROM clause */
  340. #define TRAP_3132       3132    /* Syntax error in GROUP BY clause */
  341. #define TRAP_3133       3133    /* Syntax error in HAVING clause */
  342. #define TRAP_3134       3134    /* Syntax error in INSERT statement */
  343. #define TRAP_3135       3135    /* Syntax error in JOIN operation */
  344. #define TRAP_3136       3136    /* Syntax error in LEVEL clause */
  345. #define TRAP_3137       3137    /* Missing semicolon (;) at end of SQL statement */
  346. #define TRAP_3138       3138    /* Syntax error in ORDER BY clause */
  347. #define TRAP_3139       3139    /* Syntax error in PARAMETR clause */
  348. #define TRAP_3140       3140    /* Syntax error in PROCEDURE clause */
  349. #define TRAP_3141       3141    /* Syntax error in SELECT statement */
  350. #define TRAP_3142       3142    /* */
  351. #define TRAP_3143       3143    /* Syntax error in TRANSFORM statement */
  352. #define TRAP_3144       3144    /* Syntax error in UPDATE statement */
  353. #define TRAP_3145       3145    /* Syntax error in WHERE clause */
  354. #define TRAP_3146       3146    /* ODBC--call failed */
  355. #define TRAP_3147       3147    /* */
  356. #define TRAP_3148       3148    /* ODBC--connection failed */
  357. #define TRAP_3149       3149    /* */
  358. #define TRAP_3150       3150    /* */
  359. #define TRAP_3151       3151    /* ODBC--connection to '%s' failed */
  360. #define TRAP_3152       3152    /* */
  361. #define TRAP_3153       3153    /* */
  362. #define TRAP_3154       3154    /* */
  363. #define TRAP_3155       3155    /* ODBC--insert failed */
  364. #define TRAP_3156       3156    /* ODBC--delete failed */
  365. #define TRAP_3157       3157    /* ODBC--update failed */
  366. #define TRAP_3158       3158    /* */
  367. #define TRAP_3159       3159    /* Not a valid bookmark */
  368. #define TRAP_3160       3160    /* Table isn't open */
  369. #define TRAP_3161       3161    /* */
  370. #define TRAP_3162       3162    /* Null is invalid */
  371. #define TRAP_3163       3163    /* */
  372. #define TRAP_3164       3164    /* Couldn't update field */
  373. #define TRAP_3165       3165    /* */
  374. #define TRAP_3166       3166    /* */
  375. #define TRAP_3167       3167    /* Record is deleted */
  376. #define TRAP_3168       3168    /* */
  377. #define TRAP_3169       3169    /* Illegal type in expression */
  378. #define TRAP_3170       3170    /* */
  379. #define TRAP_3171       3171    /* */
  380. #define TRAP_3172       3172    /* */
  381. #define TRAP_3173       3173    /* */
  382. #define TRAP_3174       3174    /* */
  383. #define TRAP_3175       3175    /* */
  384. #define TRAP_3176       3176    /* */
  385. #define TRAP_3177       3177    /* Not a valid table name */
  386. #define TRAP_3178       3178    /* Out of memory */
  387. #define TRAP_3179       3179    /* */
  388. #define TRAP_3180       3180    /* Couldn't write to file '%s' */
  389. #define TRAP_3181       3181    /* Invalid range */
  390. #define TRAP_3182       3182    /* */
  391. #define TRAP_3183       3183    /* */
  392. #define TRAP_3184       3184    /* */
  393. #define TRAP_3185       3185    /* */
  394. #define TRAP_3186       3186    /* */
  395. #define TRAP_3187       3187    /* */
  396. #define TRAP_3188       3188    /* */
  397. #define TRAP_3189       3189    /* */
  398. #define TRAP_3190       3190    /* */
  399. #define TRAP_3191       3191    /* Can't define field more than once */
  400. #define TRAP_3192       3192    /* */
  401. #define TRAP_3193       3193    /* */
  402. #define TRAP_3194       3194    /* */
  403. #define TRAP_3195       3195    /* */
  404. #define TRAP_3196       3196    /* */
  405. #define TRAP_3197       3197    /* */
  406. #define TRAP_3198       3198    /* */
  407. #define TRAP_3199       3199    /* */
  408. #define TRAP_3200       3200    /* */
  409. #define TRAP_3201       3201    /* */
  410. #define TRAP_3202       3202    /* */
  411. #define TRAP_3203       3203    /* */
  412. #define TRAP_3204       3204    /* Database already exists */
  413. #define TRAP_3205       3205    /* */
  414. #define TRAP_3206       3206    /* */
  415. #define TRAP_3207       3207    /* */
  416. #define TRAP_3208       3208    /* */
  417. #define TRAP_3209       3209    /* */
  418. #define TRAP_3210       3210    /* Connect string too long */
  419. #define TRAP_3211       3211    /* */
  420. #define TRAP_3212       3212    /* */
  421. #define TRAP_3213       3213    /* */
  422. #define TRAP_3214       3214    /* */
  423. #define TRAP_3215       3215    /* */
  424. #define TRAP_3216       3216    /* Parameter '%s' specified, where a table name is required */
  425. #define TRAP_3217       3217    /* Parameter '%s' specified where the database name is required */
  426. #define TRAP_3218       3218    /* */
  427. #define TRAP_3219       3219    /* */
  428. #define TRAP_3220       3220    /* */
  429. #define TRAP_3221       3221    /* */
  430. #define TRAP_3222       3222    /* */
  431. #define TRAP_3223       3223    /* '%s' isn't a valid parameter name */
  432. #define TRAP_3224       3224    /* */
  433. #define TRAP_3225       3225    /* */
  434. #define TRAP_3226       3226    /* */
  435. #define TRAP_3227       3227    /* */
  436. #define TRAP_3228       3228    /* */
  437. #define TRAP_3229       3229    /* */
  438. #define TRAP_3230       3230    /* */
  439. #define TRAP_3231       3231    /* */
  440. #define TRAP_3232       3232    /* ODBC--couldn't create table */
  441. #define TRAP_3233       3233    /* */
  442. #define TRAP_3234       3234    /* */
  443. #define TRAP_3235       3235    /* */
  444. #define TRAP_3236       3236    /* ODBC--encountered unexpected Null value */
  445. #define TRAP_3237       3237    /* ODBC--unexpected type */
  446. #define TRAP_3238       3238    /* ODBC--data out of range */
  447. #define TRAP_3239       3239    /* */
  448. #define TRAP_3240       3240    /* */
  449. #define TRAP_3241       3241    /* */
  450. #define TRAP_3242       3242    /* Invalid reference in SELECT statement */
  451. #define TRAP_3243       3243    /* */
  452. #define TRAP_3244       3244    /* */
  453. #define TRAP_3245       3245    /* */
  454. #define TRAP_3246       3246    /* */
  455. #define TRAP_3247       3247    /* */
  456. #define TRAP_3248       3248    /* */
  457. #define TRAP_3249       3249    /* */
  458. #define TRAP_3250       3250    /* Couldn't build key */
  459. #define TRAP_3251       3251    /* */
  460. #define TRAP_3252       3252    /* */
  461. #define TRAP_3253       3253    /* */
  462. #define TRAP_3254       3254    /* */
  463. #define TRAP_3255       3255    /* */
  464. #define TRAP_3256       3256    /* */
  465. #define TRAP_3257       3257    /* */
  466. #define TRAP_3258       3258    /* */
  467. #define TRAP_3259       3259    /* Invalid field data type */
  468. #define TRAP_3260       3260    /* */
  469. #define TRAP_3261       3261    /* */
  470. #define TRAP_3262       3262    /* */
  471. #define TRAP_3263       3263    /* Invalid database object */
  472. #define TRAP_3264       3264    /* No fields defined - cannot append table */
  473. #define TRAP_3265       3265    /* Name not found in this collection */
  474. #define TRAP_3266       3266    /* Append illegal - Field is part of a TableDefs collection */
  475. #define TRAP_3267       3267    /* Property value only valid when Field is part of a recordset */
  476. #define TRAP_3268       3268    /* */
  477. #define TRAP_3269       3269    /* Append illegal - Index is part of a TableDefs Collection */
  478. #define TRAP_3270       3270    /* Property not found */
  479. #define TRAP_3271       3271    /* Invalid property value */
  480. #define TRAP_3272       3272    /* */
  481. #define TRAP_3273       3273    /* Method not applicable for this object */
  482. #define TRAP_3274       3274    /* */
  483. #define TRAP_3275       3275    /* */
  484. #define TRAP_3276       3276    /* Invalid database ID */
  485. #define TRAP_3277       3277    /* Can't have more than 10 fields in an index */
  486. #define TRAP_3278       3278    /* */
  487. #define TRAP_3279       3279    /* */
  488. #define TRAP_3280       3280    /* Can't delete field that is part of an index */
  489. #define TRAP_3281       3281    /* */
  490. #define TRAP_3282       3282    /* */
  491. #define TRAP_3283       3283    /* Primary key already exists */
  492. #define TRAP_3284       3284    /* Index already exists */
  493. #define TRAP_3285       3285    /* Invalid index definition */
  494. #define TRAP_3286       3286    /* */
  495. #define TRAP_3287       3287    /* */
  496. #define TRAP_3288       3288    /* */
  497. #define TRAP_3289       3289    /* */
  498. #define TRAP_3290       3290    /* */
  499. #define TRAP_3291       3291    /* */
  500. #define TRAP_3292       3292    /* */
  501. #define TRAP_3293       3293    /* */
  502. #define TRAP_3294       3294    /* */
  503. #define TRAP_3295       3295    /* */
  504. #define TRAP_3296       3296    /* */
  505. #define TRAP_3297       3297    /* */
  506. #define TRAP_3298       3298    /* */
  507. #define TRAP_3299       3299    /* */
  508.  
  509. /* FileSelectionBox error(s) */
  510. #define TRAP_20476 20476 /* "Selected file name is too large for current buffer size. Use MaxFileSize to increase the file name storage buffer." */
  511.  
  512. /* Ole Errors */
  513. #define TRAP_31004 31004 /* "No Object" */
  514.  
  515. #define TRAP_30000 30000 /* "Cannot use RemoveItem on a fix row" */
  516. #define TRAP_30001 30001 /* "Cannot use AddItem on a fix row" */
  517. #define TRAP_30002 30002 /* "Grid does not contain that row" */
  518. #define TRAP_30009 30009 /* "Row value is not valid" */
  519. #define TRAP_30010 30010 /* "Column value is not valid" */
  520. #define TRAP_30015 30015 /* "Cannot remove last non-fixed row" */
  521.  
  522. #define TRAP_32755_CD_CANCEL 32755 /* "Cancel was selected" */
  523.  
  524. #endif
  525.