Results 1 to 4 of 4
  1. #1
    Star Lounger
    Join Date
    Apr 2003
    Location
    Washington, District Of Columbia, USA
    Posts
    53
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Stay on Current Record (Access 2003 SP1)

    I'm trying to figure out how to prevent a user from moving to the previous/next/first/last record after a command button click on a form. I've disable the navigation buttons, but users who roll there mouse wheel up/down or use page_up/page_down, can still move to another record. I was thinking I could use the wheel_up/wheel_down/Key Press events to prevent this, but that may cause some problems later on. Any suggestions on a more simple solution would be appreciated.

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

    Re: Stay on Current Record (Access 2003 SP1)

    I would filter the form so that there is only one record.

  3. #3
    Star Lounger
    Join Date
    Apr 2003
    Location
    Washington, District Of Columbia, USA
    Posts
    53
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Stay on Current Record (Access 2003 SP1)

    Then i will just have to prevent them from clearing the filter. Correct?

  4. #4
    Star Lounger
    Join Date
    Apr 2003
    Location
    Washington, District Of Columbia, USA
    Posts
    53
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Stay on Current Record (Access 2003 SP1)

    Thank HansV, I was making it harder than it needed to be. Much thanks.

Posting Permissions

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