Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 27th, 2004, 10:29 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 217
Thanks: 0
Thanked 1 Time in 1 Post
Default mousewheel causes subform to advance a record

I have several forms with subforms on them and when the user (accidentally) moves the mouse wheel the subform record advances or moves to the previous record (depending on the direction of the wheel). This occurs whether the focus is on the main form or the subform. I tried removing Access's record navigation buttons and that had no effect. Aside from scotch taping mouse wheels, do you have any suggestions of how I can protect the subform and our data?
I am using 2k. I find no place where the mousewheel is exposed......

THanks,

Loralee

 
Old October 27th, 2004, 11:14 PM
Authorized User
 
Join Date: Oct 2004
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You need Stephen Leban's MouseHook.dll

http://www.lebans.com/mousewheelonoff.htm



John Viescas, author
"Microsoft Office Access 2003 Inside Out"
"Running Microsoft Access 2000"
"SQL Queries for Mere Mortals"





Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting a record from a subform captainlove Access VBA 3 May 1st, 2008 11:38 AM
How do I delete a record from a subform captainlove SQL Server ASP 1 April 29th, 2008 12:01 AM
setting subform to new record skinny Access 4 January 3rd, 2006 02:57 PM
Creating a new record in a subform dlamarche Access 3 February 18th, 2005 12:33 AM
Subform only may contains 1 record Stanny Access 5 December 21st, 2004 11:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.