Solved

Access form auto Scroling- annoying

Posted on 2014-04-19
5
294 Views
Last Modified: 2014-04-19
Hello All,
when i enter a row via a form and hit enter, the form jumps up to first row. The form is in DataSheet view type. I dont like it goes up to the top of the row. How cani do it so that it stays where the scroll is  - any after update event?

Thank you
0
Comment
Question by:Rayne
  • 3
  • 2
5 Comments
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 40010572
It will not do that except if you have some code that performs a requery of the form.
Double-check that.

/gustav
0
 

Author Comment

by:Rayne
ID: 40010574
yes it does requery,,so is it possible to do the requery and then come back to the same scrolling position?
0
 
LVL 49

Accepted Solution

by:
Gustav Brock earned 500 total points
ID: 40010591
Yes, read the ID before requerying. Then after the requery:

   With Me.Recordsetclone
   
        .FindFirst "ID = " & ID

        if .NoMatch then
            msgbox "ID value not found"
        Endif
        me.bookmark = .Bookmark

    End With

/gustav
0
 

Author Closing Comment

by:Rayne
ID: 40010605
thanks
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 40010712
You are welcome!

/gustav
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now