Solved Long subform behaviour

Babycat

Member
Local time
Today, 16:11
Joined
Mar 31, 2020
Messages
288
Hi everyone

I have a long subform (continous) on Mainform. This subform is not on top of Mainform (its Top position is not 0)
Everytime this subform got focus then the display screen will be "shifted down" to make subform first record in the top-left position of screen. It causes the mainform's fields are not fully shown.

Please advide how to fix this.

Attached are screenshot and sample access file.
(The issue does not happen if the subform height is fit into your screen, in other word if the subform is not long (tall) then no issue
Screenshot 2025-08-20 095952.jpg
 

Attachments

That's expected behavior. Afraid can't be long as you have and not get that. Need to reduce height of subform and box and main form so all parts can be view on smallest monitor this is intended to be viewed on. This is why forms have scroll bars.
 
Last edited:
Whilst I agree with June7 about shrinking the form / subform heights, the described behaviour doesn't happen for popup forms as they are independent of the Access application interface.
As the form supplied already is a popup form, it doesn't shift upwards when the subform gets focus.
 
That's expected behavior. Afraid can't be long as you have and not get that. Need to reduce height of subform and box and main form so all parts can be view on smallest monitor this is intended to be viewed on. This is why forms have scroll bars.
i have so many data fields on mainform while no tab-control is allowed, thus the mainform will be with vertical scroll bar in my design.
The current behaviour maximizes dipalying item on subform but it hides important fields on the top of mainform.
 
Whilst I agree with June7 about shrinking the form / subform heights, the described behaviour doesn't happen for popup forms as they are independent of the Access application interface.
As the form supplied already is a popup form, it doesn't shift upwards when the subform gets focus.
Yes. By set subform's PopUp property to Yes. The problem is solved.
Thank you very much.
 

Users who are viewing this thread

Back
Top Bottom