By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,528 Members | 1,342 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,528 IT Pros & Developers. It's quick & easy.

How do you adjust a form to open from the top?

P: n/a
How do I make a form open from the top and not from the bottom. I have
to scroll up to the top of the form every time I open the form. How do
I program it to open initially from the top?

Dec 12 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
<wo****@comcast.net> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
How do I make a form open from the top and not from the bottom. I have
to scroll up to the top of the form every time I open the form. How do
I program it to open initially from the top?

Do you mean that your form goes to the last record of the recordset when it
opens? Does any code run when it opens?

Keith.
www.keithwilby.com
Dec 12 '05 #2

P: n/a
<wo****@comcast.net> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
How do I make a form open from the top and not from the bottom. I have
to scroll up to the top of the form every time I open the form. How do
I program it to open initially from the top?


If your form is longer than the screen and is starting at the bottom, then
maybe you are setting the focus to a control that is near the bottom. Try
adding

Me.YourControlName.Set Focus

to the OnLoad or OnCurrent event of your form. Select the control that is
topmost on your form.
Fred Zuckerman
Dec 12 '05 #3

P: n/a
Or you might want to break the form into pages and set focus on the
first page when it loads

Dec 13 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.