GLese
Registered User.
- Local time
- Yesterday, 23:55
- Joined
- Feb 13, 2018
- Messages
- 52
I'm new to Access/VBA and I want to get opinions from y'all who have more experience on whether or not this is a bad practice while I'm early on in my database design/skill development.
My database has a bunch of forms which allow FE users to enter and selectively edit information. I am including on all FE forms an "Exit" button which runs a simple sub that closes the open form without saving and returns the user to what will be their home screen (a nav form with buttons for various functions).
Is it bad practice if all of the exit buttons have the same name if they all run the same function? (I've been using btnExit for simplicity sake)
Or should I be changing the name to reflect what form it's on? (ex: btnExitPwLogin)
Look forward to y'alls opinions so I can become educated and make the best design decisions going forward!
My database has a bunch of forms which allow FE users to enter and selectively edit information. I am including on all FE forms an "Exit" button which runs a simple sub that closes the open form without saving and returns the user to what will be their home screen (a nav form with buttons for various functions).
Is it bad practice if all of the exit buttons have the same name if they all run the same function? (I've been using btnExit for simplicity sake)
Or should I be changing the name to reflect what form it's on? (ex: btnExitPwLogin)
Look forward to y'alls opinions so I can become educated and make the best design decisions going forward!