Notiophilus
Registered User.
- Local time
- Today, 08:33
- Joined
- Jan 18, 2015
- Messages
- 42
Access 2010. I want to run some code when you change record or exit the form:
The answer seems to be to move the code to my custom navigation buttons + the Form_Unload event. However, I also want to keep Access's default navigation bar (arrows + search box), because I'm obstinate. Is it possible to add code to the default navbar? It doesn't seem to have its own event.
I don't like this solution very much, but it seems like the only option. Am I approaching the problem the right way?
- check if title AND summary AND link are blank, and if they are discard the record
- check if record is a duplicate and then do stuff
- if everything is OK, then commit unbound fields
The answer seems to be to move the code to my custom navigation buttons + the Form_Unload event. However, I also want to keep Access's default navigation bar (arrows + search box), because I'm obstinate. Is it possible to add code to the default navbar? It doesn't seem to have its own event.
I don't like this solution very much, but it seems like the only option. Am I approaching the problem the right way?