- Local time
- Today, 09:30
- Joined
- Feb 19, 2002
- Messages
- 45,735
It isn't an issue as long as you understand how to always stop it if you need to. Access is designed to always save because it is designed to be user friendly and in general, users are happier if their data isn't accidentally lost.I'm just saying this is one of my few complaints.
There are far better ways to control the save than to always prompt. When you always prompt, all you are doing is training the user to ignore your messages and always press OK. And bad data still gets saved when you don't use the correct event. I once removed over 5,000 lines of validation code from a single Access app because the developer didn't understand how forms worked and put validation code into every event he could think of, multiple times, but couldn't stop Access from saving the bad data. Why? NONE of the code was in the correct event.Concur with @Isaac. I've worked around it, but just about any other application let's you make changes and then when you want to exit asks "Do you want to Save?" (which is annoying if you just saved and haven't made additional changes.)
The developer is ALWAYS in control but only if he knows how. There are far worse things about Access than its desire to keep you from accidentally losing data.Unless you add some kind of Before_Update verification, Access saves and then hopes you have a backup of the old version if you didn't intend to make the change.
You'll see posts from developers who never understood Access and so resorted to unbound forms because they though that was the only way to control the save. Even they save bad data if they don't validate it correctly and they have to write a lot of unnecessary code to make it happen.
If you don't understand how to control whether or not data gets saved, you might want to view these videos and play with the included database that helps you to understand how Access forms work.
Bad Data is Bad for Business #1 and #2
I just added #2 --- that link is further down. It is much shorter than #1. I also added a copy of the database I used for the video. Enjoy:) I created a database to help people to understand how and why to use the Form's BeforeUpdate event to validate data. @Uncle Gizmo and I made a...
www.access-programmers.co.uk