Results 1 to 3 of 3
  1. #1
    gprzytula is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2022
    Posts
    13

    focus of form after search

    access 2021
    I have a form with a section on top with some text boxes and command button


    below this section is a subform/subreport the displays the selected data when pressing the command button : search
    when pressing the command button the form shifts to give focus on data display and the top section is moved up out of the screen
    to see I just have to move the scroll bar on right
    is there a way to keep this top section always visible on top of screen and not having to scroll after each search
    thanks for all help
    Best Regard, Guy

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,943
    Have you tried setting focus to a control in the top?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,803
    Size/design your form so that all of it appears on your screen?
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 10-23-2020, 07:13 AM
  2. Replies: 7
    Last Post: 03-09-2018, 11:11 PM
  3. Replies: 10
    Last Post: 09-08-2016, 08:09 PM
  4. Replies: 3
    Last Post: 01-05-2016, 11:49 PM
  5. Replies: 5
    Last Post: 02-20-2014, 11:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums