?
Solved

test if the shift key is currently being pressed.

Posted on 2015-02-15
2
Medium Priority
?
158 Views
Last Modified: 2016-02-11
I am using Microsoft Access 2013 in 64 bit mode.

I have  code that is triggered by a click event. I would like that code to know if the shift key is currently being pressed. I have seen code for 32 bit  systems.  

The 64 bit version seems more elusive.
0
Comment
Question by:peispud
[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
2 Comments
 
LVL 29

Accepted Solution

by:
IrogSinta earned 2000 total points
ID: 40611254
It's the same for 32 or 64 bit.  To test for the Shift key, use the OnMouseUp or OnKeyUp event.  Shift is one of the parameters for this event and will return a 1 or True if the shift key is pressed.

Ron
0
 

Author Closing Comment

by:peispud
ID: 40611298
Thank you.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

777 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