Results 1 to 3 of 3
  1. #1
    data808 is offline Noob
    Windows XP Access 2010 32bit
    Join Date
    Aug 2012
    Posts
    727

    Keycode for dash/underscore key

    I am trying to disable the -/_ key. I disabled the subtract key in the numeric pad. Keycode for that is 109. However, the other subtract key near the backspace and + key is still enabled so I need the keycode for this key. Its the key that gives a dash or underscore if you hold shift with it.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,598
    That is a hyphen. ASCII code is 45. Underscore is 95.

    How did you determine the numeric keypad is 109?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    data808 is offline Noob
    Windows XP Access 2010 32bit
    Join Date
    Aug 2012
    Posts
    727
    Don't know but found the keycode by trial and error.

    187 = =/+ (this will add a record)
    189 = -/_ (this will delete a record)
    186 = ;/: (this will insert the date)
    188 = ,/< (this will insert the time)

    These keys are important to disable if you want your database secure. These keys are used with the ctrl button.
    Last edited by data808; 03-07-2014 at 11:18 PM.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 09-18-2013, 06:44 PM
  2. proper usage of keycode
    By crowegreg in forum Forms
    Replies: 9
    Last Post: 06-30-2012, 11:50 PM
  3. How to eliminate the text after and before the dash
    By Jerseynjphillypa in forum Queries
    Replies: 1
    Last Post: 06-15-2012, 10:58 AM
  4. Dash Board.
    By cap.zadi in forum Forms
    Replies: 1
    Last Post: 09-14-2011, 08:10 AM
  5. Keyboard not returning correct keycode
    By Toots in forum Programming
    Replies: 1
    Last Post: 04-14-2011, 10:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums