Results 1 to 4 of 4
  1. #1
    Star Lounger
    Join Date
    Feb 2002
    Posts
    74
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Tab Index order on form wont 'stick' (2000)

    I've had this happen at times in Access 97 and now sometimes in 2000, so I'm finally getting around to asking why... As I set the tab index for my fields on a form, beginning with 0, 1, 2.... they begin to revert back to their original number. The only way to change them at this point is to use the Tab Order box from the View menu. I've tried compacting without any luck. I'd really like to know why it's doing this, and perhaps how to get it to work correctly.

    Any ideas? Thanks!

    Randy

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

    Re: Tab Index order on form wont 'stick' (2000)

    If you change tab indexes manually, you will run into this because the indexes are dynamically reshuffled to accommodate the value you changed. I've done this in code, but it's much easier and more reliable to use the View-->Tab Order dialog, so why bother?
    Charlotte

  3. #3
    Star Lounger
    Join Date
    Feb 2002
    Posts
    74
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Tab Index order on form wont 'stick' (2000)

    Another good reason to assign meaningful names to your controls :-)

  4. #4
    Super Moderator
    Join Date
    Jun 2002
    Location
    Mt Macedon, Victoria, Australia
    Posts
    3,993
    Thanks
    1
    Thanked 45 Times in 44 Posts

    Re: Tab Index order on form wont 'stick' (2000)

    Does your form use tabbed pages?

    I always set tab order using the indexes, and very occasionaly have this problem, and I suspect that it happens on tabbed pages. (It doesn't happen often enough for me to be sure)
    I reckon that when you add some new controls to an existing form and you want to slot them into the tab order, the indices are by far the easiest way to do it, and 99% of the time they work perfectly.
    Regards
    John



Posting Permissions

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