Stephen Lebans has a sample database that does this and can be downloaded at:
http://www.lebans.com/mousewheelonoff.htm
Download and unzip the db and take a look. In your db and goto File >
External Data > Import and import the module modMouseHook (I think that's the
name) from the sample database.
You may or may not have to place a copy of the MouseHook.dll in the same
folder as your database. Sometimes it works from the standard location,
sometimes it doesn’t. It’s normally a Hidden file, so you’ll have to unhide
it, Find it, then copy it to the folder.
In the first form to load in your db use this code:
Private Sub Form_Load()
' Turn off Mouse Scroll
blRet = MouseWheelOFF
End Sub

Signature
There's ALWAYS more than one way to skin a cat!
Answers/posts based on Access 2000
Fuad - 30 Apr 2007 07:56 GMT
Thanks for advice, it works well, but only one issue: while adding a new
record to my main form, the subform linked with the main form by the main
form ID creates 2 records per each main record in its table: one is empty
(only main ID), another is normally filled with all data. I think it's just
Access feature: new record becomes current and other one is reserved as new
record and after all this events mouselock activates...otherwise it can't
block an Access new record creation event.
Anyway that's much better than creating hundreds of blank records by
accidental wheel scrolling...
Thanks.

Signature
Regards,
Fuad
> Stephen Lebans has a sample database that does this and can be downloaded at:
>
[quoted text clipped - 15 lines]
> blRet = MouseWheelOFF
> End Sub