Results 1 to 5 of 5
  1. #1
    3 Star Lounger
    Join Date
    Mar 2006
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    289
    Thanks
    0
    Thanked 1 Time in 1 Post

    Move to next record with arrow key (2003 sp2)

    In a table pressing the down arrow key will move to the field below. Is there a way to do that in a form? The form's recordset is a query built on one table with some calculations.
    Thanks
    chuck

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Move to next record with arrow key (2003 sp2)

    See <post#=213,062>post 213,062</post#>. If you decide to use that code, you'll want to set the Key Preview property of the form to Yes.

  3. #3
    3 Star Lounger
    Join Date
    Mar 2006
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    289
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Move to next record with arrow key (2003 sp2)

    When I use this code I get a "variable not defined" error at "adhcErrInvalidRow".
    Thanks
    chuck

  4. #4
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Sint Niklaas, Belgium
    Posts
    2,778
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Move to next record with arrow key (2003 sp2)

    Instead of
    Case adhcErrInvalidRow
    use
    Case 2105
    Francois

  5. #5
    3 Star Lounger
    Join Date
    Mar 2006
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    289
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Move to next record with arrow key (2003 sp2)

    Once again, I thank you for your help. This forum is something special to me. It makes me feel I have friends all over the world.
    Thanks
    chuck

Posting Permissions

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