ghudson
Registered User.
- Local time
- Today, 01:58
- Joined
- Jun 8, 2002
- Messages
- 6,194
As developers, we have a challenge to prevent our users from advancing to another record if they do not use the navigational controls we want them to use or to prevent them from bypassing our validation procedures too ensure the current record is okay to be saved. The invention of the scrolling mouse wheel has given most developers (not using Access XP) a challenge to control the users ability to bypass most data validation procedures.
My sample will prevent the user from using the following functions if the current record has been modified but was not saved using my custom save button...
My method does not use ActiveX, .DLL's or a lot of VBA. My method does not disable the users scrolling mouse wheel, it only prevents the scrolling mouse wheel from advancing to another record if the current record has been modified but not saved using my custom save button.
Please post back if you have any comments or suggestions. Thanks!
My sample will prevent the user from using the following functions if the current record has been modified but was not saved using my custom save button...
- Advance to another record using their scrolling mouse wheel
- Advance to another record using the default or custom navigation buttons
- Use the Page Up or Page Down keys
- Use the Shift-Enter key combination to save the current record
- Use the F9 key (refresh records)
- Use toolbar options relevant to record operations (sort, find, etc.)
- Close the form
My method does not use ActiveX, .DLL's or a lot of VBA. My method does not disable the users scrolling mouse wheel, it only prevents the scrolling mouse wheel from advancing to another record if the current record has been modified but not saved using my custom save button.
Please post back if you have any comments or suggestions. Thanks!