Avatar of aikimark
aikimark
Flag for United States of America asked on

What is the best practice for naming controls on MS Access forms and reports?

Seeking best practices advice


What is the best practice for naming controls on MS Access forms and reports?


Based on my experience, I give specific (non-default) names to controls under these two conditions:

  • There is event code for the control
  • The control is referenced in code

I give this advice to power users and developers.  I'd like to know if this advice has been documented or would like to know what guidelines other seasoned professionals use.

Microsoft Access

Avatar of undefined
Last Comment
aikimark

8/22/2022 - Mon
Fabrice Lambert

Hi,

I have only one advice:
Meaningfull names

As for your 2 points, there are no rules.
ASKER CERTIFIED SOLUTION
Jim Dettman (EE MVE)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Dale Fye

I use basically the same convention that Jim uses.  But I name everything, including labels.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
aikimark

ASKER
Thanks.  I'll close this question on Sunday.  If there are other Access experts that find this question, they may also opine.
Your help has saved me hundreds of hours of internet surfing.
fblack61
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
aikimark

ASKER
Thanks to the participating experts.