Consulting

Results 1 to 8 of 8

Thread: Scroll Bar MS ACCESS

  1. #1

    Scroll Bar MS ACCESS

    Hi there,

    does anyone know how to reset the scroll bar in ms access? so when i load/open the form, the scroll bar will always be at the top.

    I have a form with 3 sections (header, detail, and foot) but I think the scroll bar will only play on detail section. Everytime I open the form, the scroll bar's always in the middle.

    any thoughts?

    Thanks
    R

  2. #2
    VBAX Master CreganTur's Avatar
    Joined
    Jan 2008
    Location
    Greensboro, NC
    Posts
    1,676
    Location
    I have a form with 3 sections (header, detail, and foot) but I think the scroll bar will only play on detail section. Everytime I open the form, the scroll bar's always in the middle.
    They are three separate sections. If your header and footer are fully expanded to show all of the objects they contain, then they will not have a scroll bar. If not, then they will each have their own individual scrollbar. Form's only show scrollbars if they are not large enough to show all of the objects in their respective sections.

    Does that answer your question, or is there an issue with the scrollbar for the Details section of your Form?
    -Randy Shea
    I'm a programmer, but I'm also pro-grammar!
    If your issue is resolved, please use Thread Tools to mark your thread as Solved!

    PODA (Professional Office Developers Association) | Certifiable | MOS: Access 2003


  3. #3
    hey mate... seriously not addressing my questions..

    my question was how to keep the vertical scroll bar on the top while opening the form?

    atm, the scroll bar is always in the middle while opening the form so only the middle part of the form is being shown.

    cheers
    R

  4. #4
    VBAX Master CreganTur's Avatar
    Joined
    Jan 2008
    Location
    Greensboro, NC
    Posts
    1,676
    Location
    What object has focus when your Form loads? If it's an object halfway down your form, then that might be pulling the scroll bar down so the focused object is seen.

    If that doesn't fix it, then please attach your Form.
    -Randy Shea
    I'm a programmer, but I'm also pro-grammar!
    If your issue is resolved, please use Thread Tools to mark your thread as Solved!

    PODA (Professional Office Developers Association) | Certifiable | MOS: Access 2003


  5. #5
    mate... u were right.. it is focusing on the subform and trying to fit it within the window.

    do you have any solutions? (assume in that form I have that subform as the only object - so can't really setfocus to another object).

    cheers
    R

  6. #6
    VBAX Master CreganTur's Avatar
    Joined
    Jan 2008
    Location
    Greensboro, NC
    Posts
    1,676
    Location
    Without seeing the form I can't really offer much of a suggestion, especially since you want me to assume that there are no other objects on the form, other than the subform... which leads me to the question: If the only object of any importance on this form is a subform, then why aren't you opening the subform as a main form on its own?

    Are you sure your window is sized appropriately? increasing the size may help.
    -Randy Shea
    I'm a programmer, but I'm also pro-grammar!
    If your issue is resolved, please use Thread Tools to mark your thread as Solved!

    PODA (Professional Office Developers Association) | Certifiable | MOS: Access 2003


  7. #7
    VBAX Newbie
    Joined
    Oct 2008
    Posts
    5
    Location
    a quick hack could be to add a textbox above your sub form, make it hidden, set the tab order to be ahead of the subreport and then set the focus to that?

    or does the subform open up like that when viewing it by itself?

  8. #8
    i did that.. got an error "cannot change the focus to another object" while opening the form..

    when i removed the subform, the main form was opened normally..

Posting Permissions

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