Top of Form Cut Off

  • Thread starter Thread starter Berny
  • Start date Start date
B

Berny

Hello,

I have a long form that when it opens the top of the form (with the title
and heading information) does not show.

I need to manually scroll to the top of the form.

Is there a way to have the form open with the default being scrolled all the
way to the top.

Any help will be greatly appreciated
 
when the form is longer than the open window, the form will "settle" with
the first control in the tab order (where TabStop = True) at the top of the
window. you can set an unbound control at the very top of the form (Detail
section if there's no form header; Header section if it's there), with the
following settings:
Name = txtTabStop
Visible = True
Enabled = True
Locked = True
Tabstop = False
BorderStyle = Transparent
Width = 0"
Height = 0"
set the control's label's Visible property to False.

in the form's Load event procedure, move the focus first to txtTabStop, then
to the first data entry control, as

Me!txtTabStop.SetFocus
Me!MyDataEntryControl.SetFocus

hth
 
Hi, Berny

Look at the Tab order of the fields in the form, probably the first field in
the order placed on the buttom of the form, and that cause the form to move
down, when it set the focus to this field.
Make the first field in the tab order to be one of the fields in the top of
the form
 
tina,
Happy to see you are still helping people. You helped me out of the woods
quite a while back, and I still appreciate it. I had many form-subform
problems and you led me through the maze. Thanks again.
tom
 
you're very welcome, Tom. :) those subforms are pesky things until you
get the hang of them - and then you quickly grow to love them!
i hope that my suggested solution to Berny has as happy an outcome. <g>
 
Thank you

tina said:
you're very welcome, Tom. :) those subforms are pesky things until you
get the hang of them - and then you quickly grow to love them!
i hope that my suggested solution to Berny has as happy an outcome. <g>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top