Microsoft Office Tutorials and References
In Depth Information
Control naming tags
Figure A-22
Control type
Tag
Check box
chk
Combo box
cbo
Command button
cmd
Image
img
Label
lbl
Line
lin
List box
lst
Option button
opt
PivotTable
pvt
Rectangle
shp
Subform/Subreport
sub
Text box
txt
Some database developers use a prefix tag for each field name to identify the field’s
data type (for example, dtm for Date/Time, num for Number, and chr for Text or
Character), others use a prefix tag for each field name to identify in which table the field is
located (for example, emp for the Employee table and pos for the Position table), and still
others don’t use a prefix tag for field names.
You might use suffix tags for controls that might otherwise have identical names. For
example, if you have two text boxes in a form for calculated controls that display the aver-
age and the sum of the OrderAmt field, both could legitimately be named txtOrderAmt
unless you used suffix tags to name them txtOrderAmtAvg and txtOrderAmtSum.
Search JabSto ::




Custom Search