Results 1 to 5 of 5
  1. #1
    2 Star Lounger
    Join Date
    May 2002
    Location
    Quincy, Illinois
    Posts
    138
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Tab-Page (Access 2003)

    I have a 3 page tab control inserted in a form. During the design of the form I've changed the tab order around (new order is Page2, Page1, Page3). Now when I open the form, the tab control is defaulted to Page1 (second tab) instead of Page2 (first tab). I've looked everywhere for an option to change this, but can't find anything. Does anyone know how I can default the tab-page to Page2?

    Thanks,
    Drew

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

    Re: Default Tab-Page (Access 2003)

    Have you tried setting the Page Index property of Page2 to 0?

  3. #3
    2 Star Lounger
    Join Date
    May 2002
    Location
    Quincy, Illinois
    Posts
    138
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Default Tab-Page (Access 2003)

    Yes...
    Page2 (Page Index = 0)
    Page1 (Page Index = 1)
    Page3 (Page Index = 2)

    Still defaults to Page1.

    Regards,
    Drew

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

    Re: Default Tab-Page (Access 2003)

    Check your code to see if you've set TabCtl.Value = 1 (or whatever the name of your tab control is).
    Mark Liquorman
    See my website for Tips & Downloads and for my Liquorman Utilities.

  5. #5
    2 Star Lounger
    Join Date
    May 2002
    Location
    Quincy, Illinois
    Posts
    138
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Default Tab-Page (Access 2003)

    Mark,

    I overlooked the fact that I had a setfocus command used on an open event that set focus to a control on Page1.
    I changed this and it now pops up on Page2.

    Thanks for the help,
    Drew

Posting Permissions

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