一键导入
access-vba-reserved-words
Detect and avoid Microsoft Access / VBA reserved words in identifiers.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Detect and avoid Microsoft Access / VBA reserved words in identifiers.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | access-vba-reserved-words |
| description | Detect and avoid Microsoft Access / VBA reserved words in identifiers. |
| license | CC-BY-4.0 |
Help developers avoid case-insensitive identifier collisions in Access/VBA.
VBA keywords & operators
Dim, If, Select, Function, ByVal, And, etc.
Built-in VBA function names
InStr, Left, Right, Mid, Len, Date, Time, Now, etc.
Access/DAO object model names
Form, Forms, Report, Section, Field, Fields, Recordset, etc.
ACE/Jet SQL keywords
SELECT, FROM, WHERE, JOIN, GROUP BY, ORDER BY, TABLE, INDEX, UNION, etc.
Special characters/symbols
Spaces, ', ", ., !, ?, *, +, -, =, <, >, #, %, $, &, @, \, /, ^, ~, {}, [], ().
Access and the database engine treat names case-insensitively; reusing these terms as identifiers often leads to compile or runtime errors.
Priority: Complete Steps 1–4 in order. Step 5 is optional and should be considered only when explicitly requested.
DateField, FormControl) should be noted as potential concerns, but only exact or very obvious collidances require immediate action. Use judgment based on context.InStr → posInStr or searchPosDate → SaleDate / CreatedDateName → PersonName / ItemNameText → BodyText / MessageTextstrName, lngCount, dtmStart, frmMain, qrySales).[Date]; while bracketing can work, renaming avoids subtle bugs.date, time, now, value, name, text, yearinstr, left, right, mid, lenform, forms, report, section, field, fieldsselect, from, where, join, order, group, union, table, indexSaleDate, IsEligible, TotalAmount.str, lng, dtm, frm, qry) for clarity.Data, Info, Temp when they collide with engine terms.Date and Text across forms.”