Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Apr 2002
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Move cursor (Access 2000)

    I have a form for adding new customers. I need to know how to automatically move the cursor back to the Name box after clicking add new customer.

    Thanks <img src=/S/shrug.gif border=0 alt=shrug width=39 height=15>

  2. #2
    Gold Lounger
    Join Date
    Jun 2001
    Location
    Crystal Beach, FL, Florida, USA
    Posts
    3,436
    Thanks
    1
    Thanked 34 Times in 34 Posts

    Re: Move cursor (Access 2000)

    First of all, it is not a good idea to use the word "Name" for a field name. If you did use it, cahnge the controlname to txtName, to avoid possible confusion. Then, all you need is this to move to this control:

    DoCmd.GoToControl "txtName"
    Mark Liquorman
    See my website for Tips & Downloads and for my Liquorman Utilities.

  3. #3
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Move cursor (Access 2000)

    Or

    Me!txtName.SetFocus
    Charlotte

Posting Permissions

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