Results 1 to 12 of 12
  1. #1
    samos1023 is offline Novice
    Windows 10 Access 2016
    Join Date
    Nov 2017
    Posts
    18

    tab to next record

    I have a main form with a sub form. The sub form is a continuous from. The form is for entering items into a inventory tracking db. When I get to the end of the current item the tab key takes me to the beginning of the record, can I set up my form to go to a new record when this is triggered? The second thing is If I click on a new record when i have finished entering a record(instead of hitting the tab button). When this is done the cursor moves all the way to the first record in the form. What can I do to change this behavior

  2. #2
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    In the property list for the form, look for the Cycle property. Click the General tab if you can't find it. Set the Cycle property to All Records and it should behave as you want it to.

  3. #3
    samos1023 is offline Novice
    Windows 10 Access 2016
    Join Date
    Nov 2017
    Posts
    18
    When I set my cycle to all records, then my behavior changes. The first time I get to the end of a new record I get the same behavior as before. The cursor returns to the first item in the first record on the sub-form. If I push tab from this point the tab travels down the item list and then to the next. What am I doing wrong

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    If you want to provide db for analysis, follow instructions at bottom of my post.
    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.

  5. #5
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    Check the tab order of the fields in your subform: Design menu ... Tab Order.
    If the order is wrong drag items into the order you want or use Auto Order
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  6. #6
    samos1023 is offline Novice
    Windows 10 Access 2016
    Join Date
    Nov 2017
    Posts
    18
    I have put a zip file in my dropbox for you. The DB has a front end and a back end. I gave you both files. There is also user security on it so hold shift when opening the DB to bypass the login requirments

    https://www.dropbox.com/s/iqen1ygh87...0Rev2.zip?dl=0

  7. #7
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    Which form is it?
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  8. #8
    samos1023 is offline Novice
    Windows 10 Access 2016
    Join Date
    Nov 2017
    Posts
    18
    frmInvCheckInEquip

  9. #9
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    All fixed
    3 other forms accessed from the switchboard also had the tab order scrambled so you got 'silly behaviour' in those as well
    - frmOpenInventory
    - frmInvCheckOutEquipSub
    - frmAllOpenProductsSub
    In each case, I clicked on the Detail section in design view then changed tab order using Auto Order

    There may be other forms that I've missed if not opened via the switchboard

    Attached is the updated FE - no point uploading the BE as I haven't changed it.

    AV Database Rev2.zip
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  10. #10
    samos1023 is offline Novice
    Windows 10 Access 2016
    Join Date
    Nov 2017
    Posts
    18
    I deleted my old DB and replaced it with the one you sent, I still get same results. I also opened up the form in design view, I dont have a tab order for the detail view, each item in the detail view has a tab property, is that the one your referring too?

  11. #11
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    The form you mentioned behaved perfectly for me so I didn't change it
    Try doing what I described re Auto Order on that form
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  12. #12
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    Here's a short video of what I get together with a screen shot of how to alter the order

    BTW I get a missing reference message for ACWZTOOL.ACCDE when I run your db.
    That's the built in Access wizards so I don't know why that is or whether its relevant

    Oops - screenshot for wrong form ... but same idea

    Click image for larger version. 

Name:	TabOrder.PNG 
Views:	8 
Size:	73.2 KB 
ID:	32066
    Attached Files Attached Files
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

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

Similar Threads

  1. Replies: 4
    Last Post: 10-21-2017, 09:56 AM
  2. Replies: 4
    Last Post: 05-27-2016, 10:02 AM
  3. Replies: 4
    Last Post: 01-12-2016, 02:49 PM
  4. Replies: 3
    Last Post: 03-09-2013, 10:39 AM
  5. Replies: 2
    Last Post: 12-21-2012, 01:57 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