[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Stop user moving to new records in subform PageDown

Posted on 2014-02-11
8
Medium Priority
?
593 Views
Last Modified: 2014-03-01
I have this that works great for keeping one record only in a subform.

If KeyCode = vbKeyPageUp Or KeyCode = vbKeyPageDown Then
    KeyCode = 0
End If

To my horror rolling the mouse scroller moves straight to the next records.

In my app that is a big problem. How do I stop it.
0
Comment
Question by:DatabaseDek
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
8 Comments
 
LVL 10

Expert Comment

by:Gozreh
ID: 39850821
Are you looking for solution to disable the mouse scroll in subform ?
look here  http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_23662702.html
0
 
LVL 39

Expert Comment

by:PatHartman
ID: 39851072
Set the Cycle property of the form (Properties dialog - Other Tab) to Current Record.
0
 

Author Comment

by:DatabaseDek
ID: 39852709
Hi All

Setting the forms Cycle property to current record does not work with any mouse I have tried. Lebans system does not compile in 2002 and I cannot figure out why that is,

I'm still stuck. Any more suggestions?

Derek
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 10

Expert Comment

by:Gozreh
ID: 39853276
Which version of access are you using ? I test the Lebans with 2010 and it worked.
Did you download from Lebans the A2KMouseWheelHookVer22 file ? what error did you get ?
0
 
LVL 39

Expert Comment

by:PatHartman
ID: 39853317
Setting the forms Cycle property to current record does not work with any mouse I have tried.
We must live in different dimensions.  It works for me.  When you have a row selected in a subform, scrolling allows you to move the list up and down but focus stays on the selected record.  However, Page up and down WILL move focus to a different record.
0
 

Author Comment

by:DatabaseDek
ID: 39858598
I am on version 2002. My packaging and security software are linked to this version so an upgrade would be very inconvenient and expensive.

My subforms are in single form mode. Perhaps that is the difference. But this problem applies to all single forms in my app and all have the cycle property set to current record
0
 
LVL 39

Accepted Solution

by:
PatHartman earned 2000 total points
ID: 39859013
I think you must be using the version of access where cycle property is broken.  Lucky you.  The mouse wheel solution might work for you.  Otherwise, consider upgrading even though it will be inconvenient.
0
 

Author Closing Comment

by:DatabaseDek
ID: 39897046
Thanks

Derek
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question