ms access 2003 vba to read cursor position

when moving from record to record the  form moves around because the cursor is at a new control. I need to be able to read capture and then restore the cursor position after moving to a new record, in access 2003
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rey Obrero (Capricorn1)Commented:
do you mean moving back to the last viewed record after adding a new record?

before going to New record, store the unique record id to a variable
dim lastID as Long 'or String if ID is Text data type

' add new record process here
'after saving the new record
'look for the last record viewed

with me.recordsetclone
       .findfirst "[ID]=" & lastID    ' for NUMBER type ID
       if not .nomatch then
       end if
end with

post back if this did the job
durickAuthor Commented:
No the form always ends up at the correct record, but the cursor is sitting at a different form control?(if that makes sense)
So I think I need to read what control the cursor is at, then after the last move I want to move the cursor back to this same control.
The form can get rather long and when the user selects to move to the next record, the form will move up and down to fit the screen.

Or after each move to next record, position the mouse cursor to the first or second control on the form?
Rey Obrero (Capricorn1)Commented:
just use

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.