Results 1 to 3 of 3
  1. #1
    Sheba is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    239

    vb code for ENTER

    I'll like to give the user the option of using the Enter Key in addition to clicking with the mouse. How can I do this I'd really appreciate someone providing me with the code.

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    I believe default settings should do this. You can check Options and under Client Settings or Form Behavior or... you will find options.

    If you have focus on something like a Command Button and hot enter, it should execute. If you are in a text box and hit enter, it most likely will behave like the tab key.

  3. #3
    Sheba is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    239
    thanks ItsMe. Tis working now

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

Similar Threads

  1. Replies: 12
    Last Post: 02-19-2014, 11:01 AM
  2. Field auto enter new line on enter event
    By Ruegen in forum Forms
    Replies: 3
    Last Post: 09-17-2013, 09:00 PM
  3. VBA code to require user to enter a Value
    By rlsublime in forum Access
    Replies: 1
    Last Post: 03-14-2012, 04:34 PM
  4. Replies: 0
    Last Post: 11-22-2011, 09:10 PM
  5. Replies: 1
    Last Post: 06-10-2010, 10:47 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