Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Page tabs on a form

Discussion in 'Information Technology' started by bondtk, Oct 27, 2005.

Tags:
  1. bondtk

    bondtk
    Expand Collapse
    Guest

    I hope this is a simple thing to fix. I have a form with two page tabs. When
    people enter all the fields on tab 1, they are complaining about scrolling
    all the way back up to click on the second tab to begin data entry on the
    second page. I thought it would be nice to have a button they push at the
    bottom to go to the next tab. From reading a couple other messages, it
    sounds like the button they push would maybe change the focus to the first
    field of tab two. Would this work?
     
  2. Loading...

    Similar Threads Forum Date
    50 Or So Pages Of DG Are By Guru Gobind Singh Other Scriptures Sep 9, 2016
    Interfaith Nanak Is The Guru - Nanak Is The Lord Himself - Page 865, SGGS Interfaith Dialogues Sep 22, 2015
    Ang Safaa Panna Page? Questions and Answers May 6, 2014
    USA Over 100 pages of documents outline Sikh Temple shooting & investigation Breaking News Mar 26, 2014
    Facebook removes ads from controversial pages to avoid boycott Information Technology Jun 30, 2013

  3. Van T. Dinh

    Van T. Dinh
    Expand Collapse
    Guest

    If you use a TabControl, you should design so that the Form ( & hence the
    TabControl is fully visible on the screen if Access is maximized) so that
    the users don't have to scroll the Form up & down. If you need more space,
    simply use additional TabPage(s).

    That's said, you can use a CommandButton to send the Focus to the "first"
    Control (not "Field" - A Form has Controls and not Fields and Controls can
    be bound to Fields in the RecordSource of the Form). Personally, I use a
    dummy unbound TextBox (zero height & width, transparent background, no
    border) as the "last" Control on the first TabPage and then use the GotFocus
    Event to set the Focus to the "first" Control on the second TabPage. This
    way, the user can tab out of the last Control visible to the user and he/
    she gets to the "first" Control on the second TabPage.

    --
    HTH
    Van T. Dinh
    MVP (Access)




    "bondtk" <bondtk@discussions.microsoft.com> wrote in message
    news:D9D0E8F5-C034-49ED-8B4F-4072E40E0DDE@microsoft.com...
    >I hope this is a simple thing to fix. I have a form with two page tabs.
    >When
    > people enter all the fields on tab 1, they are complaining about scrolling
    > all the way back up to click on the second tab to begin data entry on the
    > second page. I thought it would be nice to have a button they push at the
    > bottom to go to the next tab. From reading a couple other messages, it
    > sounds like the button they push would maybe change the focus to the first
    > field of tab two. Would this work?
     
  4. Al Camp

    Al Camp
    Expand Collapse
    Guest

    bondtk,
    You could create a button that executes a Domd.GoToControl "SomeField"
    [SomeField] would be the name of the first control on Tab2.
    You'll probably also need another button to also allow users to go to the
    first control on Tab1.

    But, I would recommend that you try your best to not design any form
    that exceeds the length or width of your screen.
    You've already seen that Scrolling is bothersome, as is PageUp and
    PageDown
    Add a third Tab if needed, or redesign your 2 tabs to try to get all
    your data onto one screen. It's not a "serious" problem, but should
    generally be avoided when at all possible.
    --
    hth
    Al Camp
    Candia Computer Consulting - Candia NH
    http://home.comcast.net/~cccsolutions

    "bondtk" <bondtk@discussions.microsoft.com> wrote in message
    news:D9D0E8F5-C034-49ED-8B4F-4072E40E0DDE@microsoft.com...
    >I hope this is a simple thing to fix. I have a form with two page tabs.
    >When
    > people enter all the fields on tab 1, they are complaining about scrolling
    > all the way back up to click on the second tab to begin data entry on the
    > second page. I thought it would be nice to have a button they push at the
    > bottom to go to the next tab. From reading a couple other messages, it
    > sounds like the button they push would maybe change the focus to the first
    > field of tab two. Would this work?
     
  5. bondtk

    bondtk
    Expand Collapse
    Guest

    Thanks for the good ideas! My first tab only slightly has to use the scroll
    bar, but the people who are beta testing my design suggested the "next
    button". I like the invisible field idea. I may switch from the button
    approach to that approach.

    "Al Camp" wrote:

    > bondtk,
    > You could create a button that executes a Domd.GoToControl "SomeField"
    > [SomeField] would be the name of the first control on Tab2.
    > You'll probably also need another button to also allow users to go to the
    > first control on Tab1.
    >
    > But, I would recommend that you try your best to not design any form
    > that exceeds the length or width of your screen.
    > You've already seen that Scrolling is bothersome, as is PageUp and
    > PageDown
    > Add a third Tab if needed, or redesign your 2 tabs to try to get all
    > your data onto one screen. It's not a "serious" problem, but should
    > generally be avoided when at all possible.
    > --
    > hth
    > Al Camp
    > Candia Computer Consulting - Candia NH
    > http://home.comcast.net/~cccsolutions
    >
    > "bondtk" <bondtk@discussions.microsoft.com> wrote in message
    > news:D9D0E8F5-C034-49ED-8B4F-4072E40E0DDE@microsoft.com...
    > >I hope this is a simple thing to fix. I have a form with two page tabs.
    > >When
    > > people enter all the fields on tab 1, they are complaining about scrolling
    > > all the way back up to click on the second tab to begin data entry on the
    > > second page. I thought it would be nice to have a button they push at the
    > > bottom to go to the next tab. From reading a couple other messages, it
    > > sounds like the button they push would maybe change the focus to the first
    > > field of tab two. Would this work?

    >
    >
    >
     

Share This Page