in message
Access 2000. Are there any pros and cons to naming objects
with long descriptive names vs abbreviated names? How about the fields?
tblEmployeeDemographics or tblEmpDem
If I call the table EmployeeDemographics, can I call the fields
or is it better to spell out the entire name.
Should I use LastName instead of LName
I agree with Doug that there are probably no performance differences.
I think a better criteria would be, "What would be easier for you to
figure out if you needed to come back to this database a few years
from now?" I think consistency would be the key.
I try and follow these naming guidelines pretty closely:
http://www.ltcomputerdesigns.com/JCReferences.html#NamingConventions
I know of at least one person that follows these *exactly*, but
I think most experts do their own variations on the above guidelines.
As long as it is easy for you and consistent then you should be fine.
You'll also find some techniques of your own for naming objects.
For example, I name all of my queries that are Record Sources
for reports the same name as the report except for the "qry" prefix.
So if I have a report named rptDailyLaborPlan, then I name the
query that feeds it qryrptDailyLaborPlan. This makes it much easier
to trace down the source object. Also, all of my "report" queries
are then grouped together in the Database Window.
Another technique I use is for RWOP queries. For those types of
special queries I name them exactly the same as the table except
for the "qry" prefix. So the main RWOP query on tblVendors
would be qrytblVendors. Again, these are easier to spot and most
likely will be grouped together.
Just some ideas for you.
--
Jeff Conrad
Access Junkie
Bend, Oregon
Jeff,
I looked up RWOP query but I'm still not sure what it is. Is that something that you create or is it created when you set up the security?
Thanks for the great suggestions!
Linda