Forms open down the page

  • Thread starter Thread starter flipper
  • Start date Start date
F

flipper

Guest
When I open my form, it doesn't open at the top of the page. How do I get it to open up at the top, so that I do not have to use the scroll button to go up to top?
 
Hi
You can use the MoveSize function in VBA
In the code on the button you use to open the form, or in the OnOpen event of the form you use (for instance)
DoCmd.MoveSize 0, 0, 14500, 6500
That will put the top left hand corner of the form at the top left hand corner of the screen and give you a form 14500 pixels wide and 6500 pixels tall.
You can play around with the numbers till you have it as you want it.
HTH
 
I don't even know how to do that. My form used to open up normally, but now it opens a little bit down the page. I don't know how to program all that stuff you said. My page control is aligned with the top left corner of Detail though.
 
OK
Perhaps you would be quickest just using scroll. It may be easier than getting into VBA coding behind forms unless you fancy learning it.
If you are planning to use Access much you will need to sooner or later.
Lots of good advice if you search the forum
Good luck
 

Users who are viewing this thread

Back
Top Bottom