Results 1 to 2 of 2

Thread: Cursor / Focus Problem

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2005
    Posts
    2

    Cursor / Focus Problem

    Hi,

    I'm hopiong that someone can help me out with this small problem I am having in access 2003/vba

    I have a subform containing continuous records. One of the fields within this form has calculations carrioed out on the afterupdate event. However once this field is updsted and this event hadler is carried out, the focus jumps back to the first record on the form.

    I have tried setting the focus, but it only sets the focus to that control on the first record. I need the focus/cursor to remain on the current record.


    Any ideas anyone??
    Thanks
    Derek

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: Cursor / Focus Problem

    See if there is a subform refresh being called that doesn't need to be.
    Check the tab order of controls?
    Don't use a sub form to start with? (use a listbox instead - with a pop up form for data entry/amending)

    I don't use subforms, so soory, can't help other than the above checks.

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width