R
Rick
I'm trying to be consistant with my VB programming and use a 3 letter
lowercase prefix when naming objects and variables. I can't find an
accepted standard published list anywhere and have come up with some based
on Northwind and other examples in this newsgroup.
Does anyone have a widely accepted prefix for those I'm missing? And are
the one's I do have the most widely accepted ones used? Thanks for any
help or suggestions you might have.
Object Prefix Letter Naming Conventions
tbl Table
frm Form
qry Query
rpt Report
mdl Module
mcr Macro
rst Recordset
txt Test Box
cbo Combo Box
lbx List Box
lbl Label
Option Group
Toggle Button
Option Button
Check Box
btn Command Button
Image
Unbound Object Frame
Bound Object Frame
Tab Control
Sub Form
Sub Report
Line
Rectangle
Variable Prefix Naming Conventions
boo Boolean
Byte
cur Currency
Date
dec Decimal
dbl Double
int Integer
lng Long
New
obj Object
sng Single
str String
var Variant
Rick C
lowercase prefix when naming objects and variables. I can't find an
accepted standard published list anywhere and have come up with some based
on Northwind and other examples in this newsgroup.
Does anyone have a widely accepted prefix for those I'm missing? And are
the one's I do have the most widely accepted ones used? Thanks for any
help or suggestions you might have.
Object Prefix Letter Naming Conventions
tbl Table
frm Form
qry Query
rpt Report
mdl Module
mcr Macro
rst Recordset
txt Test Box
cbo Combo Box
lbx List Box
lbl Label
Option Group
Toggle Button
Option Button
Check Box
btn Command Button
Image
Unbound Object Frame
Bound Object Frame
Tab Control
Sub Form
Sub Report
Line
Rectangle
Variable Prefix Naming Conventions
boo Boolean
Byte
cur Currency
Date
dec Decimal
dbl Double
int Integer
lng Long
New
obj Object
sng Single
str String
var Variant
Rick C