caringsharingbristolbilly
Board Regular
- Joined
- Mar 23, 2004
- Messages
- 241
Hi guys.
These are probably very simple questions, but ones I can't seem to track down the answers to in the help files or my Access book... I'm probably being very thick:
1. Where can I put a bit of code in when a user tries to move between records on a form?
Is there a MoveRecord event or something? I want to only allow the users to leave the current record when they've fulfilled certain criteria.
(To explain further, I want certain fields completed, then a button clicked which assigns a policy number to the record. I don't want them to leave the newly created record until all this has been done. Because of the button click, I'm not sure the .dirty property will work, and I can't use the built-in validation)
2. Is there any way to disable the mouse wheel navigation?
I want to only allow navigation via buttons I've created (there's code attached to them, you see). I've disabled all the things I could find, but the mouse wheel still allows navigation.
Any help would be really appreciated...!
These are probably very simple questions, but ones I can't seem to track down the answers to in the help files or my Access book... I'm probably being very thick:
1. Where can I put a bit of code in when a user tries to move between records on a form?
Is there a MoveRecord event or something? I want to only allow the users to leave the current record when they've fulfilled certain criteria.
(To explain further, I want certain fields completed, then a button clicked which assigns a policy number to the record. I don't want them to leave the newly created record until all this has been done. Because of the button click, I'm not sure the .dirty property will work, and I can't use the built-in validation)
2. Is there any way to disable the mouse wheel navigation?
I want to only allow navigation via buttons I've created (there's code attached to them, you see). I've disabled all the things I could find, but the mouse wheel still allows navigation.
Any help would be really appreciated...!