Results 1 to 8 of 8
  1. #1
    andy49's Avatar
    andy49 is offline VIP
    Windows 10 Access 2010 64bit
    Join Date
    Nov 2016
    Location
    London
    Posts
    1,051

    Continuous form returning to top of data list

    Hi all



    I'm inputting test results in a continuous form.

    Just one piece of data per student

    The query which the form is based on is two joined tables so when I enter a score then another field next to it (grade) is filled in automatically

    This all works fine except the focus then "returns" to the top piece of data.

    Any ideas? I should add that the tab button moves the cursor to the next line which is what I need.

    Click image for larger version. 

Name:	Capture.PNG 
Views:	22 
Size:	14.5 KB 
ID:	29487

  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
    52,921
    Focus then "returns" to the top piece of data after each input and pressing Enter key?
    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
    andy49's Avatar
    andy49 is offline VIP
    Windows 10 Access 2010 64bit
    Join Date
    Nov 2016
    Location
    London
    Posts
    1,051
    Sorry June. Mad moment. After entering the value 24, I want to move to the next row. But it returns to the top (highlighted area).

    Hope this makes a bit more sense.

  4. #4
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Sounds like the Form is being Requeried; I'd search your code for the line Me.Requery...maybe in the Form_Current event.

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

    All posts/responses based on Access 2003/2007

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    Right, pressing Enter key.

    But tabbing moves to next line and wouldn't that also trigger the OnCurrent event?

    It does seem like a Requery is taking place but where? If you have VBA code, do a search on the VBA code to find uses of Requery or even Refresh. If you are using macros, I don't know way to search them without a third party add-in like Rick Fishers Find and Replace.
    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.

  6. #6
    andy49's Avatar
    andy49 is offline VIP
    Windows 10 Access 2010 64bit
    Join Date
    Nov 2016
    Location
    London
    Posts
    1,051
    Thx. I'll search my vba code for requery.

  7. #7
    andy49's Avatar
    andy49 is offline VIP
    Windows 10 Access 2010 64bit
    Join Date
    Nov 2016
    Location
    London
    Posts
    1,051
    Good call!! Requery hidden away in an updater function which I'd borrowed. Thx.

  8. #8
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    (Is your topic sorted? Please mark your thread as solved)

    lol

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

Similar Threads

  1. Replies: 3
    Last Post: 03-21-2017, 08:32 PM
  2. Replies: 8
    Last Post: 01-18-2016, 06:32 AM
  3. Continuous Form vs. Data Entry
    By Paul H in forum Forms
    Replies: 2
    Last Post: 11-30-2015, 01:18 PM
  4. Replies: 2
    Last Post: 08-27-2015, 07:01 AM
  5. Possible? List box on continuous form
    By Buakaw in forum Forms
    Replies: 3
    Last Post: 07-22-2011, 11:16 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