Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496

    Pressing enter on a data entry form moves to next record?


    I have a problem where if the staff press enter key on a data entry form (the form is to create a new record) it seems to move direct to a new record - is there a solution to this?

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,863
    Access 2010 has settings that can change that will affect how the client behaves. Also, the form's property settings have options. I think there is one about tab to new record or that one may be in the global client settings.

  3. #3
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,013
    You mean if, after entering data in the last Control on the Form, they hit <Enter>. For the Form, itself, go to Properties - Other and change the Cycle Property from All Records to Current Record.

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  4. #4
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Well the idea is that they complete that record and only that record. Sometimes they might happen to use enter instead of tab as they go through the fields and it then swaps everything in the subform to blank. I have some vba on "on enter" on the subform but I doubt that has anything to do with it... right?

  5. #5
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,013
    Quote Originally Posted by Ruegen View Post

    ...Sometimes they might happen to use enter instead of tab as they go through the fields and it then swaps everything in the subform to blank...
    Sorry, can't really understand what you're saying, here. Usually when posters complain of being taken to a new record, when tabbing through a record, it's the results of the Cycle Property being set as I indicated. You now mention a subform, which your original post didn't; is this happening on the main form or the subform? I think a little more explanation is needed.
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  6. #6
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Quote Originally Posted by Missinglinq View Post
    Sorry, can't really understand what you're saying, here. Usually when posters complain of being taken to a new record, when tabbing through a record, it's the results of the Cycle Property being set as I indicated. You now mention a subform, which your original post didn't; is this happening on the main form or the subform? I think a little more explanation is needed.
    It's happening on the subform. The main form is a data entry form, then the subform is connected.

  7. #7
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,013
    So, on the Form being used as the basis for the Subform, have you checked the Cycle Property, as per Post #3?

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  8. #8
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Quote Originally Posted by Missinglinq View Post
    So, on the Form being used as the basis for the Subform, have you checked the Cycle Property, as per Post #3?

    Linq ;0)>
    It's on All records,

    out of the three choices available which should I choose and why?

  9. #9
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,013
    As I told you, in Post #3, change it to Current Record!

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  10. #10
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Quote Originally Posted by Missinglinq View Post
    As I told you, in Post #3, change it to Current Record!

    Linq ;0)>
    Sorry - missed that (I'm always swamped with a thousand tasks and sometimes I gloss over things, apologies!)

    when given the chance I will test to see if it fixes.

    thanks in advance!

  11. #11
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,013
    Quote Originally Posted by Ruegen View Post

    ...I'm always swamped with a thousand tasks...
    Not a good environment for developing software! Attention to detail really is Rule # 1!

    Good luck with the project!

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  12. #12
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Quote Originally Posted by Missinglinq View Post
    Not a good environment for developing software! Attention to detail really is Rule # 1!

    Good luck with the project!

    Linq ;0)>
    tell me about it!

  13. #13
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Seems to fix. I don't understand the whole cycle things but I guess this is required for all subforms that are tied 1 - 1?

  14. #14
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,013
    Nope! The Cycle Property is part of all Forms, regardless of whether or not they're an independent Form, a Main Form or a Subform. It goes back to the early days of data entry, I guess, when a gazillion records were entered at once, and it was advantageous to hit <Enter> or <Tab>, when at the end of one Record, and go to the next New Record.

    Glad it's working for you!

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  15. #15
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Quote Originally Posted by Missinglinq View Post
    Nope! The Cycle Property is part of all Forms, regardless of whether or not they're an independent Form, a Main Form or a Subform. It goes back to the early days of data entry, I guess, when a gazillion records were entered at once, and it was advantageous to hit <Enter> or <Tab>, when at the end of one Record, and go to the next New Record.

    Glad it's working for you!

    Linq ;0)>
    wha wait. Should I be making it standard on all forms not to cycle all records then?

Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Form Entry (Enter a quanity of record)
    By spartanx117 in forum Forms
    Replies: 3
    Last Post: 10-03-2013, 01:54 PM
  2. Replies: 7
    Last Post: 11-21-2012, 01:41 PM
  3. Automatic duplication of form when pressing ENTER
    By tanveerksingh in forum Forms
    Replies: 7
    Last Post: 08-15-2012, 10:03 AM
  4. Pressing the Enter key performs a task...
    By Fish218 in forum Forms
    Replies: 6
    Last Post: 03-06-2012, 02:18 PM
  5. Replies: 1
    Last Post: 09-28-2011, 01:17 PM

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